How do you grep and only return the matching line? i.e. The path/filename is omitted from the results.
In this case I want to look in all .bar files in the current d
Just replace -H with -h. Check man grep for more details on options
-H
-h
man grep
find . -name '*.bar' -exec grep -hn FOO {} \;