Re: Command line assistance needed



On 2006-07-16, ~David~ wrote:
I do an

cat filenames* | grep string-here

and I want a list of which filenames have string-here in them, ie;

filename1:
this has string-here

How about simply:

grep string-here filenames*

At least on my system it results in something like:

filename:line where the search string appears

--
Jesper <xyborx+usenet@xxxxxxxxx>
"Because it's difficult to read."
"Why is top-posting bad?"
.