tcsh being dodgy, or pipe code ishoos?

Artem 'Zazoobr' Ignatjev timon at memphis.mephi.ru
Tue Jun 24 17:06:35 PDT 2003


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




More information about the freebsd-current mailing list