Iterate through directories and search into files
steve at ibctech.ca
Fri Sep 26 12:13:45 UTC 2008
I have a list of directories:
- a..z and 2003..2008
...inside of a single directory.
Can someone advise what the shortest shell pipeline would be to search
for two words (on two separate lines) within all files located only the
alpha directories, and then print the filename to STDOUT?
I know this is very efficient, but since I don't need to do this often,
it will be easier than maintaining but yet another Perl script.
More information about the freebsd-questions