Gustav Schaffter wrote:
> Hi,
>
> I'd like to redirect the STDOUT from a program to /dev/nul and at the
> same time pipe STDERR to another pgm.
>
> How could this be done?
>
> Regards
> Gustav
man bash has a rather sparse IMHO description about this under
REDIRECTION
however a quick test of what I thought it was saying :
ls missingfile > teststdout 2> teststderr
it is the 2> that does the magic.
HTH
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list