zsh-workers
 help / color / mirror / code / Atom feed
From: "J.D. Laub" <zsh-workers@laubster.org>
To: zsh-workers@sunsite.dk
Subject: stdout bug? (redirection not honored)
Date: Wed, 1 Nov 2006 11:41:28 -0700	[thread overview]
Message-ID: <20061101184128.GA95245@arctic.icelab.net> (raw)

Is this a bug?
% uname -s -r -v -m -p -i -o
Linux 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686 i686 i386 GNU/Linux
% echo $ZSH_VERSION > /dev/null | cat # should print nothing, but...
4.3.2

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

I'm hoping someone says this can be addressed by setting an
option.  :-)  I was also able to duplicate it on hpux:
% uname -s -r -v -m -i -l
HP-UX B.11.11 U 9000/800 139414660 unlimited-user license

-- 
J.D. Laub (Laubster) |"Your leg's too long / Your skull's too strong /
zsh-workers@laubster.org| Suppose your nose is wrong." - Renaldo & the Loaf


             reply	other threads:[~2006-11-01 18:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 18:41 J.D. Laub [this message]
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

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=20061101184128.GA95245@arctic.icelab.net \
    --to=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).