From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8775 invoked from network); 1 Nov 2006 18:41:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.7 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Nov 2006 18:41:52 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 76838 invoked from network); 1 Nov 2006 18:41:46 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Nov 2006 18:41:46 -0000 Received: (qmail 22511 invoked by alias); 1 Nov 2006 18:41:43 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22943 Received: (qmail 22501 invoked from network); 1 Nov 2006 18:41:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 Nov 2006 18:41:42 -0000 Received: (qmail 76459 invoked from network); 1 Nov 2006 18:41:42 -0000 Received: from arctic.icelab.net (208.42.228.203) by a.mx.sunsite.dk with SMTP; 1 Nov 2006 18:41:36 -0000 Received: (qmail 95507 invoked by uid 10023); 1 Nov 2006 11:41:28 -0700 Date: Wed, 1 Nov 2006 11:41:28 -0700 From: "J.D. Laub" To: zsh-workers@sunsite.dk Subject: stdout bug? (redirection not honored) Message-ID: <20061101184128.GA95245@arctic.icelab.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: The Psychiatric Ward of Terrors User-Agent: Mutt/1.5.11 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