Re: OptionalObsoleteFiles.inc completeness
--ZPt4rx8FFjLCG7dd
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On 2012-Jun-01 20:50:24 +0200, Ulrich Sp=F6rlein <uqs@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.
--=20
Peter Jeremy
--ZPt4rx8FFjLCG7dd
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAk/JVRQACgkQ/opHv/APuIcsugCdFmu4rKXwu/RBzSSeDVN4/4ds
JkQAoMHzcHr3Gp8myetB/vsFI5j1seMg
=Dy3G
-----END PGP SIGNATURE-----
--ZPt4rx8FFjLCG7dd--
討論串 (同標題文章)
完整討論串 (本文為第 18 之 19 篇):