Skip site navigation (1)Skip section navigation (2)
Date:      25 Jun 2003 04:07:12 +0400
From:      "Artem 'Zazoobr' Ignatjev" <timon@memphis.mephi.ru>
To:        freebsd-current@freebsd.org
Subject:   Re: tcsh being dodgy, or pipe code ishoos?
Message-ID:  <1056499632.662.7.camel@timon.nist>
In-Reply-To: <20030624183515.A42570@FreeBSD.org>
References:  <20030624183515.A42570@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1056499632.662.7.camel>