Sorry that wasn't very clear, but it works correctly in a shell script and not on the command line.
> cat t.sh echo Hello world >&2 > sh t.sh > /dev/null Hello world When you type 'echo Hello world >&2 > /dev/null' it say 1) copy stdout's fd to stderr 2) send stdout's fd to /dev/null thus you get no output. If you reverse the two, you get stderr w/o stdout. - Rob .
