From owner-freebsd-current@FreeBSD.ORG Tue Jun 24 17:06:35 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 666EF37B401 for ; Tue, 24 Jun 2003 17:06:35 -0700 (PDT) Received: from memphis.mephi.ru (memphis.mephi.ru [194.67.67.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1B8843FEC for ; Tue, 24 Jun 2003 17:06:33 -0700 (PDT) (envelope-from timon@memphis.mephi.ru) Received: from [192.168.0.3] (ppp9-197.pppoe.mtu-net.ru [81.195.9.197]) (authenticated bits=0) by memphis.mephi.ru (8.12.6p2/8.12.6) with ESMTP id h5P06UmM046390 for ; Wed, 25 Jun 2003 04:06:31 +0400 (MSD) (envelope-from timon@memphis.mephi.ru) From: "Artem 'Zazoobr' Ignatjev" To: freebsd-current@freebsd.org In-Reply-To: <20030624183515.A42570@FreeBSD.org> References: <20030624183515.A42570@FreeBSD.org> Content-Type: text/plain Organization: Message-Id: <1056499632.662.7.camel@timon.nist> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 25 Jun 2003 04:07:12 +0400 Content-Transfer-Encoding: 7bit Subject: Re: tcsh being dodgy, or pipe code ishoos? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 00:06:35 -0000 Juli Mallett wrote: > Anyone with insight into this? > > (jmallett@big-lizard:~)39% ( echo 1 ; ( ( echo 2 ; echo 3 ) | xargs -I% echo + % ) ) > 1 > + 2 > + 3 > (jmallett@big-lizard:~)40% ( echo 1 ; ( ( echo 2 ; echo 3 ) | xargs -I% echo + % ) ) | cat > 1 > + +2 > 3 last cat is not necessary... And it's more weird than that: > ( echo 1 ; ( ( echo 2 ; echo 3 ) | xargs -I% echo -- + % ) ) 1 -- --+ +2 3