There appears to be a bug in the argument processing mechanism of
bash, which seems to have been introduced recently. The previous
version I used, 1.14 works correctly as do ksh, Solaris sh and others.
$ echo a b | xargs bash echo-args
:a b:
whereas, the output should be:
:a:
:b:
The file "echo-args" contains:
for i in "${@-}"; do echo :$i:; done