Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Redirection bug for stderr?
2014-11-20 16:08:16 +0000, Peter Stephenson:
[...]
>     % { print output; print error >&2 } 2>&1 >foo.out | sed 's/error/erratic'
[...]
>   So if you want to turn this effect off, you need
>   to unset the option `MULTIOS'.
> 
Or:
% { print output; print error >&2 } 2>&1 >&- >foo.out | sed 's/error/erratic/'
(note the typo above (missing / in s/foo/bar).
-- 
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author