File: format

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 (16 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. ${srcdir}/testing.sh

tst_start

com="../pybliographer -q ${srcdir}/format.py ${srcdir}/medline.med"

for type in text raw html latex ; do
    run ${com} ${srcdir}/../Styles/Alpha.xml ${type} > tmp.fmt
    run diff tmp.fmt ${srcdir}/format.${type}
    run rm -f tmp.fmt
done

tst_stop