[darcs-users] Re: a bash tip for easily excluding the _darcs directory
Dustin Sallings
dustin at spy.net
Wed Mar 9 17:36:07 UTC 2005
On Mar 9, 2005, at 10:12, Steven E. Harris wrote:
>> 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 that's xargs' job.
DESCRIPTION
The xargs utility reads space, tab, newline and end-of-file
delimited
arguments from the standard input and executes the specified
utility with
them as arguments.
The utility and any arguments specified on the command line are
given to
the utility upon each invocation, followed by some number of the
argu-
ments read from standard input. The utility is repeatedly
executed until
standard input is exhausted.
--
Dustin Sallings
More information about the darcs-users
mailing list