Project

General

Profile

« Previous | Next » 

Revision 7478

mappings/Makefile: VegCore.csv: Filter out namespaces by matching only terms whose header links within the data dictionary

View differences:

mappings/Makefile
28 28
	php -r 'fpassthru(fopen("https://projects.nceas.ucsb.edu/nceas/projects/bien/wiki/VegCore", "r"));' >$@
29 29

  
30 30
VegCore.csv: VegCore.htm
31
	(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a [^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a><a href="#[^"-]+".*$$/\1/p')\
31
	(echo VegCore; $(sed) -n 's/^.*<h[24][^>]*><a href="#[^>]*>(([a-z]|[A-Z]{2})[^<]*)<\/a><a href="#[^"-]+".*$$/\1/p')\
32 32
<$< >$@
33 33

  
34 34
Veg+-VegCore.csv: VegCore.htm

Also available in: Unified diff