Build 1074 feels like Linux
On 06/12/2015 06:31 PM, Roger Blake wrote:
On 2015-06-13, T wrote:
Every time I have to use 2&1, I have to look it up in bash's
man page. How many ways can you typo the thing! 2&1 is the
typical one. AAAAAAAHHHHHHH !!!!
Actually I think you're right and I had the typo! It's pretty cryptic
and after all this time I still have to look it up to be sure. Works
great in Windows cmd.exe as well, which was the whole point. :-)
Now you made me go look it up, AGAIN!!!
man bash
...
Note that the order of redirections is significant. For
example, the command
ls dirlist 2&1
directs both standard output and standard error to the
file dirlist, while the command
ls 2&1 dirlist
|