[darcs-users] Re: a bash tip for easily excluding the _darcs directory

Philipp Kern pkern at debian.org
Wed Mar 9 17:28:14 UTC 2005

On 9 Mar 2005, at 18:12, Steven E. Harris wrote:
> Ralph Corderoy <ralph at inputplus.co.uk> writes:
>> Please consider suggesting xargs(1) since it saves many invocations
>> of grep.
> Why is grep invoked fewer times with xargs rather than find's "-exec"
> clause?

Because ``-exec'' launches one grep per file, xargs passes many files 
to one (or multiple, depending on the count and the length of the 
filenames) instance(s) of grep. Please consult xargs(1) for more 

Philipp Kern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050309/30e13ad4/attachment.pgp 

More information about the darcs-users mailing list