Revision 7472
Added by Aaron Marcuse-Kubitza almost 12 years ago
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/^.*<a name="([a-z][^"]*|[A-Z]+)">.*$$/\1/p')\
|
|
31 |
(echo VegCore; $(sed) -n 's/^.*<h[2-4][^>]*><a href="#[^>]+>(\??([a-z]|[A-Z]{2})[^<]*).*$$/\1/p')\
|
|
32 | 32 |
<$< >$@ |
33 | 33 |
|
34 | 34 |
Veg+-VegCore.csv: VegCore.htm |
Also available in: Unified diff
mappings/Makefile: VegCore.csv: Match terms by header # instead of matching all anchors, in order to include the leading ? before an ambiguous term