From: Zefram <zefram@fysh.org>
To: Matthias Scheler <tron@zhadum.de>
Cc: Borzenkov Andrey <Andrej.Borsenkow@mow.siemens.ru>,
zsh-workers@sunsite.dk
Subject: Re: I/O redirection problem in "zsh"
Date: Wed, 6 Nov 2002 10:10:50 +0000 [thread overview]
Message-ID: <20021106101050.GB4723@fysh.org> (raw)
In-Reply-To: <20021025114451.GB28474@colwyn.zhadum.de>
Matthias Scheler wrote:
>Is there a better portable way to redirect stderr to the pipe but
>ignore stdout?
{ command... 2>&1 >/dev/null; } | another-command...
Brace grouping effectively stops multios being accumulated, so later
redirections have their normal non-multio effect. There's also
command... 2>>( another-command... ) >/dev/null
-zefram
prev parent reply other threads:[~2002-11-06 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-25 10:40 Matthias Scheler
2002-10-25 11:13 ` Oliver Kiddle
2002-10-25 11:16 ` Borzenkov Andrey
2002-10-25 11:44 ` Matthias Scheler
2002-10-25 12:15 ` Oliver Kiddle
2002-11-06 10:10 ` Zefram [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021106101050.GB4723@fysh.org \
--to=zefram@fysh.org \
--cc=Andrej.Borsenkow@mow.siemens.ru \
--cc=tron@zhadum.de \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).