Re: Command line assistance needed
- From: Jesper <xyborx+usenet@xxxxxxxxx>
- Date: 16 Jul 2006 15:35:56 GMT
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?"
.
- Prev by Date: Blocker
- Next by Date: Re: repost: postfix auto forward
- Previous by thread: Blocker
- Next by thread: Re: Command line assistance needed
- Index(es):