[Refdb-devel] refdbc -C addref & stdin
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2003-12-11 20:19:55
|
Michael Smith writes: > um, has anybody actually had success at adding references to a RefDB > database via the "Add Reference" menu item Emacs? > Yes, me. > Or has anybody had success at adding references by piping standard input > to 'refdbc -C addref' on the command line? > Yes, me. > That is, when you try the following, does refdbc stop and wait for you > to enter data on standard input? > > refdbc -d refdb2 -t ris -C addref > Yes. > Or, if you do something like either of the following, does it work? > > refdbc -d refdb2 -t ris -C addref < data.ris > > cat data.ris | refdbc -d refdb2 -t ris -C addref > Yes. > None of those work for me. My refdbc doesn't seem to be able to read > from standard input at all. > Could it be you're working on Cygwin? The data-waiting-on-stdin autodetection does not work on Cygwin, unfortunately, so if you want to do any of the above on Cygwin you have to use the -f stdin switch. regards, Markus -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |