Olle, The command tool was not specifically written to be used with shell commands and it shows - there are extra formatting and output. I agree with you that extra output is inconvenient. Some of it can be easily changed, but, unfortunately, that particular string does not come from Xindice, but rather from one of the libraries (xmldb-api).
Now, your options are: 1. Update xmldb-api library. The most recent code for it had the extra line removed. The library is available on sourceforge [1], it has instructions for checking out the code. 2. Use some preprocessing in a shell script to remove extra content, for example: bin/xindice lc -c /db | sed '\Dtrying to register databaseDd' [1] http://sourceforge.net/projects/xmldb-org/develop Regards, Natalia On Sep 15, 2010, at 5:03 PM, Olle Olsson wrote: > Using the commandline tool > xml-xindice-1.1/bin/xindice > to fetch data and feed the standard output into a pipeline of processing > steps. > > *Problem*: > - the first line that appears on stdout is "trying to register database". > - this is inconvenient ... much better to have only the actual content from > the database > > *Question*: > - is there some simple way to make that message go away? > - there is a "verbose" flag, but no "quiet" flag -- why not? > > /olle > > > -- > ------------------------------------------------------------------ > Olle Olsson ol...@sics.se Tel: +46 8 633 15 19 Fax: +46 8 751 72 30 > [Svenska W3C-kontoret: ol...@w3.org] > SICS [Swedish Institute of Computer Science] > Box 1263 > SE - 164 29 Kista > Sweden > ------------------------------------------------------------------ > >