On 04/07, Brett Parker wrote:
On 30 Jun 13:22, Laurie Brown wrote:
find [dir] -type f | xargs grep -liH "string"
Or, getting rid of the useless pipe, and using any modern version of find:
find [dir] -type f -exec grep -liH "string" {} +
I likely missed some context by not bothering to read the whole thread, but why not:
grep -rliH "string" [dir]
?
Steve