From owner-freebsd-current@FreeBSD.ORG Fri Jun 1 23:50:06 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24161106564A for ; Fri, 1 Jun 2012 23:50:06 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 9E8348FC0A for ; Fri, 1 Jun 2012 23:50:05 +0000 (UTC) Received: from server.rulingia.com (c220-239-254-65.belrs5.nsw.optusnet.com.au [220.239.254.65]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id q51Nno9r058651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 2 Jun 2012 09:49:52 +1000 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id q51NnfOK088469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 2 Jun 2012 09:49:41 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id q51NnfG2088468; Sat, 2 Jun 2012 09:49:41 +1000 (EST) (envelope-from peter) Date: Sat, 2 Jun 2012 09:49:41 +1000 From: Peter Jeremy To: Dmitry Marakasov , freebsd-current@freebsd.org Message-ID: <20120601234940.GB56049@server.rulingia.com> References: <20120527140541.GL2987@hades.panopticon> <20120528094427.GE2675@aspire.rulingia.com> <20120528195542.GB85856@hades.panopticon> <20120528200403.GB15356@server.rulingia.com> <20120528221825.GB38860@hades.panopticon> <20120530032703.GA99357@server.rulingia.com> <20120531212042.GA43155@server.rulingia.com> <20120601185024.GP10094@acme.spoerlein.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZPt4rx8FFjLCG7dd" Content-Disposition: inline In-Reply-To: <20120601185024.GP10094@acme.spoerlein.net> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: OptionalObsoleteFiles.inc completeness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 23:50:06 -0000 --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 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--