zsh-users
 help / color / mirror / code / Atom feed
* multios doesn't work with 2>&1
@ 2013-10-27 14:59 Han Pingtian
  2013-10-27 17:01 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Han Pingtian @ 2013-10-27 14:59 UTC (permalink / raw)
  To: zsh-users

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-27 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-27 14:59 multios doesn't work with 2>&1 Han Pingtian
2013-10-27 17:01 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).