- Timestamp:
- 05/05/08 16:34:35 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/twindoi.sh
r56 r63 17 17 # $ ./twindoi.sh -i data/biball.xml -t raw 18 18 # $Id$ 19 # fplod 2008-05-05T14:26:31Z aedon.locean-ipsl.upmc.fr (Darwin) 20 # usage of xml(starlet) for doi extraction in xml file 21 # fplod 2007-06-20T16:12:22Z aedon.locean-ipsl.upmc.fr (Darwin) 22 # consolidation and homogeneisation 19 23 # smasson 2007-06-20T16:11:47Z 20 24 # creation 21 # fplod 2007-06-20T16:12:22Z aedon.locean-ipsl.upmc.fr (Darwin)22 # consolidation and homogeneisation23 25 # 24 26 # … … 79 81 ;; 80 82 xml) 81 grep -i '<biblioid class="doi">' ${filexml} |\82 sed -e 's+^.*<biblioid class="doi">\(.*\)</biblioid>.*$+\1+'| \83 xml sel -N dbk="http://docbook.org/ns/docbook" \ 84 -t -m "//dbk:biblioid[@class='doi']" -v . -n ${filexml} | \ 83 85 grep -v "???" | \ 84 86 sort -d > /tmp/doilist.txt
Note: See TracChangeset
for help on using the changeset viewer.