From: Danek Duvall <duvall@comfychair.org>
To: "J.D. Laub" <zsh-workers@laubster.org>
Cc: zsh-workers@sunsite.dk
Subject: Re: stdout bug? (redirection not honored)
Date: Wed, 1 Nov 2006 10:59:42 -0800 [thread overview]
Message-ID: <20061101185942.GK18123@lorien.comfychair.org> (raw)
In-Reply-To: <20061101184128.GA95245@arctic.icelab.net>
On Wed, Nov 01, 2006 at 11:41:28AM -0700, J.D. Laub wrote:
> The problem becomes an issue when you have a command that generates
> something on both stdout and stderr, and you want to dump the stdout
> and page through the stderr:
>
> % foo 2>&1 > /dev/null | more
See Peter's response re: multios, but note that this command doesn't match
what you described. It copies stderr to stdout, and then sends it to two
places with multios. Instead, you probably want
% foo 2> /dev/null | more
which merely sends stderr to /dev/null and pipes stdout to more.
Danek
prev parent reply other threads:[~2006-11-01 19:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-01 18:41 J.D. Laub
2006-11-01 18:46 ` Peter Stephenson
2006-11-01 22:15 ` J.D. Laub
2006-11-02 1:34 ` Wayne Davison
2006-11-01 18:59 ` Danek Duvall [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=20061101185942.GK18123@lorien.comfychair.org \
--to=duvall@comfychair.org \
--cc=zsh-workers@laubster.org \
--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).