Re: OptionalObsoleteFiles.inc completeness

From: Peter Jeremy <peter_at_rulingia.com>
Date: Sat, 2 Jun 2012 09:49:41 +1000
On 2012-Jun-01 20:50:24 +0200, Ulrich Spörlein <uqs_at_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

Received on Fri Jun 01 2012 - 21:50:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:27 UTC