Re: searching inside files with find, cat and grep as a oneliner ...
Albretch Mueller <firstname.lastname@example.org> wrote:
> I need to:
> search for files using a pattern (say all files with a certain extension)
> then search inside each of the found files for a word or regexp pattern
> You could do this using find, cat and grep in a script, but I was
> wondering about how could you do it with a oneliner
Look down to "How to find a string in a selection of files".
Look down to "Search for a string"
But the newer style is to pipe find into xargs: