Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
multios doesn't work with 2>&1
- X-seq: zsh-users 18060
- From: Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: multios doesn't work with 2>&1
- Date: Sun, 27 Oct 2013 22:59:17 +0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello,
According to the zsh guide's "2.5.8 ‘Go faster’ options for power
users", page 44:
% echo foo 2>&1 >/dev/null | sed 's/foo/bar/'
should output "bar" if multios has been set. But it outputs nothing
here. But if I removed the "2>&1", then it works just fine:
% echo foo >/dev/null | sed 's/foo/bar/'
bar
Please have a look. Thanks.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author