Subject: Re: bulk/pre-build
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 08/23/2006 14:23:20
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Ignatios Souvatzis <is@netbsd.org> wrote:
> On Tue, Aug 22, 2006 at 10:38:00AM -0400, Jan Schaumann wrote:
> > Hubert Feyrer <hubert@feyrer.de> wrote:
>=20
> > > But can you use xargs(1) to speed things up a bit?
> > >=20
> > > find ${BULKFILESDIR} \( -name $BROKENF -o -name $BRKWRKLOG \
> > > 	-o -name $BLDLOG \) print \
> > > | xargs rm -f
> >=20
> > If that's actually faster, then yeah, sure.
>=20
> Shouldn't we add -n 32 or something like that to xargs?

I'd expect the xargs for each OS to DTRT by default.  Are there OSs that
come with an xargs that passes more than the max possible number to the
other tools?  If not, then I think passing "-n 32" would be
unneccessary.

-Jan

--=20
Defending Freedom in the Digital World:
   --- Electronic Frontier Foundation -- http://www.eff.org ---

--3MwIy2ne0vdjdPXF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (NetBSD)

iD8DBQFE7J0XfFtkr68iakwRAhp+AKC3k00m8xilWM+xsspCE606zoHJFgCdGIeO
caJXfhtL4upxqqI7ihKgj2c=
=VIcQ
-----END PGP SIGNATURE-----

--3MwIy2ne0vdjdPXF--