Software
>>
OS
>>
Unix
>>
Solaris
>>
How to search for files matching a pattern and then search for keywords within those files
eg. search for files *.xslt under /somedir and do keyword search within the files returned. # for f in `find /somedir -name \*.xslt`;do grep pattern $f && echo $f;done
Please enable JavaScript to view the
comments powered by Disqus.