Artem 'Zazoobr' Ignatjev wrote:
Juli Mallett wrote:

Anyone with insight into this?

([EMAIL PROTECTED]:~)39% ( echo 1 ; ( ( echo 2 ; echo 3 ) | xargs -I% echo + % ) )
1
+ 2
+ 3
([EMAIL PROTECTED]:~)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




Hmmm... This looks like xargs isn't waiting for the subcommand
to exit.  This looks like 'echo -- + 2' and 'echo -- + 3' are
running concurrently.

Tim


_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to