I think you may have misunderstood his intentions. He wants to discard the usual stdout of the program and read its usual stderr via the pipe. He is doing that by duping stderr to stdout and redirecting stdout to /dev/null. The way he has it should work.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Sending STDERR to a filehandle
by sauoq
in thread Sending STDERR to a filehandle
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |