$ echo | xargs uname
vs
$ echo | xargs uname
Linux
I'm not sure whether to hate the open group:
The utility will be executed one or more times until the end-of-file is
reached.
( http://opengroup.org/onlinepubs/007908799/xcu/xargs.html )
for having lame behaviour and no flag to give me the useful 'zero or more'
Or FreeBSD for lulling me into an assumption that its xargs is standards
conformant:
STANDARDS
The xargs utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compli-
ant. The -J, -o, -P and -R options are non-standard FreeBSD extensions
which may not be available on other operating systems.
FreeBSD 6.2 August 2, 2004 FreeBSD 6.2
Nicholas Clark