I have a bunch of files in a bunch of sub-directories which may or may not contain specific text.
For instance D001, D002, D003 ... may be in the files.
I need to output a list of which TEXT(s) exist. I don't want to know which file they are in only that they exist.
So I would look for "D0" in the directory and the output would be D001, D002, D003 etc.
I have fiddled around with find and grep to no avail.
Can anyone help?
Much appreciation in anticipation
Bookmarks