This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Patch for generic-build-script
On Thu, Aug 12, 2004 at 11:41:03PM -0400, Robb, Sam wrote:
> > It was actually right there on the xargs man page... ;-) Ok, so
> > it's settled -- I'll change your patch to do that instead of the
> > -exec option.
>
> Just curious - is there a reason to prefer xargs vs. -exec? I know
> that xargs can be used to avoid shell command line length limits, but
> are there other advantages?
Speed -- xargs minimizes the number of fork/exec calls.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6