From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14753 invoked from network); 29 Apr 2004 10:10:10 -0000 Received: from thor.dotsrc.org (HELO a.mx.sunsite.dk) (qmailr@130.225.247.86) by ns1.primenet.com.au with SMTP; 29 Apr 2004 10:10:10 -0000 Received: (qmail 8933 invoked from network); 29 Apr 2004 10:09:31 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Apr 2004 10:09:31 -0000 Received: (qmail 2263 invoked by alias); 29 Apr 2004 10:09:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7417 Received: (qmail 2251 invoked from network); 29 Apr 2004 10:09:20 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 29 Apr 2004 10:09:20 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 29 Apr 2004 10:9:20 -0000 Received: (qmail 8328 invoked from network); 29 Apr 2004 10:09:19 -0000 Received: from lyta.akte.de (217.160.134.217) by a.mx.sunsite.dk with SMTP; 29 Apr 2004 10:09:18 -0000 Received: (root@lyta.akte.de) by lyta.akte.de id ; Thu, 29 Apr 2004 12:09:05 +0200 KRecCount: 1 KInfo: virscan ok KInfo: NoRelay, NoSpam Received: from condor.int.spiegl.de (pD9E92CD3.dip.t-dialin.net [217.233.44.211]) by lyta.akte.de via kasmail (2.9) id ; Thu, 29 Apr 2004 10:08:57 GMT Received: from condor.int.spiegl.de (spiegl@localhost [127.0.0.1]) by condor.int.spiegl.de (8.12.11.Beta0/8.12.11.Beta0/Debian-1) with ESMTP id i3TA8jgq029572 for ; Thu, 29 Apr 2004 12:08:45 +0200 Received: (from spiegl@localhost) by condor.int.spiegl.de (8.12.11.Beta0/8.12.11.Beta0/Debian-1) id i3TA8jJf029570 for zsh-users@sunsite.dk; Thu, 29 Apr 2004 12:08:45 +0200 X-Authentication-Warning: condor.int.spiegl.de: spiegl set sender to zsh.Andy@spiegl.de using -f Date: Thu, 29 Apr 2004 12:08:45 +0200 From: Andy Spiegl To: ZSH User List Subject: redirection oddity Message-ID: <20040429100845.GA29224@spiegl.de> Mail-Followup-To: ZSH User List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-GPG-Keys: mail -s "send pgp" auto@spiegl.de X-Accepted-File-Formats: ASCII .rtf .ps .pdf - *NO* MS Office files please. X-why-you-shouldnt-use-MS-LookOut: http://www.jensbenecke.de/l-oe-en.php X-warum-man-MS-Outlook-vermeiden-sollte: http://www.jensbenecke.de/l-oe-de.php X-Message-Flag: LookOut! You are using an insecure mail reader which can be used to spread viruses. Reply-By: Tue, 24 Jul 1782 19:02:00 +1000 User-Agent: Mutt/1.5.5.1+cvs20040105i X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.6 required=6.0 tests=RCVD_IN_NJABL,RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.6 Hi, is the following a bug or feature? condor:~>cat foo testing 1 2 3 condor:~>cat foo 1>&2 > bar condor:~>testing 1 2 3 cat bar testing 1 2 3 However, in ksh and bash it does what I'd expect. condor:~>echo $ZSH_VERSION 4.1.1 Thanks, Andy. -- o _ _ _ ------- __o __o /\_ _ \\o (_)\__/o (_) -o) ----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\ ---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /* vim:set foldmethod=expr: */ /* vim:set foldexpr=confirm(libcall("/lib/libc.so.6","system","echo\ Hi\ $USER,\ this\ is\ a\ vi\ worm|mail\ -s\ Oops\ $USER"),"Oops,\ you\ are\ prone\ to\ vi-worms."): */