On Mon, 13 Feb 2006, Matthias Kilian wrote:

> On Mon, Feb 13, 2006 at 02:03:27PM -0700, Diana Eichert wrote:
> > find /usr/src -name "*.[c|h]" -exec grep 'bpf.h' /dev/null {} \;
>                            ^(a) ^^^^^(b)
>
> (a) I doubt there are any file names ending in a pipe symbol in /usr/src.
> (b) pipeing to xargs(1) may be faster.
>
> (SCNR)
>
> Ciao,
>       Kili

a. Yep, you're right, I've spent to much time building RegEx's lately.

b. I knew there had to be someone to pipe in with xargs.  You want to
   explain xargs to Dave you go for it.

Reply via email to