http://qs321.pair.com?node_id=1105532


in reply to Re: capturing stderr of echo piped to a file
in thread capturing stderr of echo piped to a file

Your statement is simply not true. The order of the redirects doesn't matter and in my experience having 2>&1 at the end of the line is much more common. A simple test on the command line with a perl script that issues a warn as well as a print statement will demonstrate this.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.