On Thursday 17 Jul 2003 4:18 am, Eric Huff wrote: > > Odd. That worked. I just sent it out via 2> and I got the info. > > Never would have thought of that. Thanks. > > The only reason i thought of it is because i run startx that way, and > happened to notice that stdout is often empty, but stderr always has > the same "non-error looking" info in it... > > > > You could try > > > java -version 1> test 2> test.error > > > to see if for some reason it sends the info to stderr > > > > > > > java -version > test > > > > > > > > The commandline will then print out the version of Java and > > > > "test" will have nothing in it.
Unix "standard" is to output banner-type stuff to stderr. Then it doesn't confuse any following programs trying to parse its output. -- Richard Urwin
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com