[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep patch

From: Miles Bader
Subject: Re: grep patch
Date: 19 Jan 2002 14:18:54 +0900

Stepan Koltsov <address@hidden> writes:
> > find . -name '*.h' | xargs grep -H pattern
> > 
> > find . -name '*.h' -print0 | xargs -0 grep -H pattern
> Your variant requires 1 fork-exec per file, it works slower.

No it doesn't.

Read the xargs man page again.

P.S.  All information contained in the above letter is false,
      for reasons of military security.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]