On 2010-08-19 18:42, David Xu wrote: > When will the grep -H print file name for me ? it is rather painful > that the feature is missing. :-( > So I can not use it with find: > > find . -exec grep -H {} world \; > I don't know which file contains the word world. I think you mean: find . -exec grep -H world {} \; instead? In any case, the fix is trivial, please try the attachment.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:06 UTC