[leafnode-list] making fetchnews quiet

Hundri Magusin hundri_106 at hotmail.com
Wed Dec 1 10:05:12 CET 2004


> >
> > Hmm... I had 2>&1 >/dev/null and that didn't work, I'll try with all 
>file
> > handles now....
>
>What you meant was >/dev/null 2>&1.  Order is important here.
>
>Regards,
>Ralf
>--

Interesting.... but care to elaborate on this just for my curiosity sake? 
The way I was understanding it was:
2>&1 >/dev/null

meaning assign stderr to stdout and then move stdout to /dev/null

Now it's:
>/dev/null  2>&1

which I take it to mean move stdout to /dev/null and stderr to stdout

Where am I getting it wrong?

Thanks and best regards.





More information about the leafnode-list mailing list