On Sun, Jun 08, 2008 at 10:15:50PM +0200, Wojciech Puchar wrote:
> find . -type f -print0|xargs -0 grep <grepoptions> <text to search>

There's no more need for find | xargs

Try: 

find . -type -f -exec grep <grepoptions> <text to search> {} \+

-exec foo {} \+ behaves like xargs foo  
-exec foo {} \; exec foo for every file

Regards
Raphael

-- 
Raphael Becker          <[EMAIL PROTECTED]>          http://rabe.uugrn.org/
GnuPG:                E7B2 1D66 3AF2 EDC7 9828  6D7A 9CDA 3E7B 10CA 9F2D
.........|.........|.........|.........|.........|.........|.........|..

Attachment: pgpNOAj47TfSE.pgp
Description: PGP signature

Reply via email to