On 2012-Jun-01 20:50:24 +0200, Ulrich Spörlein <u...@freebsd.org> wrote: >Why is xargs even calling /bin/echo when "utility" is not specified.
Because that's what it's documented as doing. >Shouldn't it just print a certain number of arguments (one in this >case)? The current approach is simpler - there's always "utility" and it defaults to "/bin/echo". Therefore xargs can just always fork/exec. I agree that special-casing the default to have xargs print the relevant number of arguments would be more efficient. -- Peter Jeremy
pgpjWzNyZgd8T.pgp
Description: PGP signature