recursive grep

Michael K. Elwood mkelwoodATqsicorp.com
Tue Sep 14 12:32:00 GMT 1999


> Is there something I'm missing, or does this version of grep not support
> a recursive option?  I've never used a grep that couldn't do this....

The UNIXy way to do this is

find | xargs grep <pattern>

xargs is the totally cool glue that makes this construct work. Check the man
page for xargs. You can also constrain the files fed to grep using standard
'find' syntax.

Hope this helps.

Best regards,

MKE




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list