File: convert

package info (click to toggle)
pybliographer 1.2.12-4squeeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,560 kB
  • ctags: 1,413
  • sloc: python: 9,817; xml: 2,560; sh: 813; makefile: 621
file content (19 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

. ${srcdir}/testing.sh

tst_start

com="../pybliographer -q ${srcdir}/../scripts/pybconvert.py"

for file in medline pubmed ; do

  run ${com} medline..bibtex ${srcdir}/$file.med > tmp.bib
  run ../pybliographer -q ${srcdir}/reorder.py tmp.bib tmp-2.bib
  run diff tmp-2.bib ${srcdir}/$file.bib
  run rm -f tmp.bib tmp-2.bib

done

tst_stop