refdbc -C addref & stdin
"Markus Hoenicka" <[email protected]>
| Newsgroups | gmane.text.refdb.devel |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click