Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: stdout bug? (redirection not honored)
- X-seq: zsh-workers 22945
- From: Danek Duvall <duvall@xxxxxxxxxxxxxx>
- To: "J.D. Laub" <zsh-workers@xxxxxxxxxxxx>
- Subject: Re: stdout bug? (redirection not honored)
- Date: Wed, 1 Nov 2006 10:59:42 -0800
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20061101184128.GA95245@xxxxxxxxxxxxxxxxx>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxxxxx>, "J.D. Laub" <zsh-workers@xxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20061101184128.GA95245@xxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author