http://www.perlmonks.org?node_id=184238


in reply to dgrep - Wrapper around gnu find & grep


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.

--
John.