Re: tcsh being dodgy, or pipe code ishoos?

From: Artem 'Zazoobr' Ignatjev <timon_at_memphis.mephi.ru>
Date: 25 Jun 2003 04:07:12 +0400
Juli Mallett wrote:
> Anyone with insight into this?
> 
> (jmallett_at_big-lizard:~)39% ( echo 1 ; ( ( echo 2 ; echo 3 ) | xargs -I% echo + % ) )
> 1
> + 2
> + 3
> (jmallett_at_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
Received on Tue Jun 24 2003 - 15:06:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:13 UTC