![]() |
|
XP is just a number | |
PerlMonks |
Re: dgrep - Wrapper around gnu find & grepby jmcnamara (Monsignor) |
on Jul 22, 2002 at 21:08 UTC ( #184238=note: print w/replies, xml ) | Need Help?? |
I usually do something like this: find . -name \*.pm | xargs grep foo With egrep or grep -E as necessary. With gnu find the . isn't required. And with gnu grep you can also do the following (crude) recursive grep:
grep -rs foo * There are probably other ways as well.
--
In Section
Code Catacombs
|
|