OptionalObsoleteFiles.inc completeness
Peter Jeremy
peter at rulingia.com
Fri Jun 1 23:50:06 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20120601/de85ed88/attachment.pgp
More information about the freebsd-current
mailing list