Try this:

ls -1 | xargs -i grep -l searchstring {}

Of course, replace searchstring with whatever you
are searching for. The option on ls is a one, not
the letter L. The option on grep is the letter L.

Darren

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to