Re: [Refdb-users] Strange behaviour of addref called from shell script
Status: Beta
Brought to you by:
mhoenicka
From: Jeremy M. <Je...@Ma...> - 2007-05-11 14:03:11
|
Markus Hoenicka wrote: > Two questions: > > - what does the shell script do? Could you please post it here or send > it to me off-list? It is much longer than this, but here is the start of it - the last line is the one that produces the error when scripted. #!/bin/bash refdba -c /bin/cat -C deletedb thesis cat Thesis.bib | bib2xml -c corporations.txt | xml2ris | sed -e '/^AU.*/s/\.//g; s/STD$/ELEC/' > Thesis.ris # Capitalise references, to work around a bug in openjade runsed lyxtox/sedscr_ris Thesis.ris refdba -c /bin/cat -C createdb thesis -E latin1 refdbc -c /bin/cat -d thesis -C addref Thesis.ris Using updateref doesn't seem to produce the same problem, however I need to use addref because I will usually have a mixture of new, old and (possibly) updated references to import. > - which version did you upgrade from? Knowing that will help me to > locate the problem. 0.97 I think. Running on Mac OS X 10.3.9. Thanks! -- Jeremy Malcolm LLB (Hons) B Com Internet and Open Source lawyer, IT consultant, actor host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}' |