Heh I thought I was the only one who ever found humor in that.

-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 04, 2005 10:54 AM
To: CF-Talk
Subject: Re: OT-Unix grep

[EMAIL PROTECTED] wrote:
> Okay kind of an odd thing here. I am trying to use grep to search through
files for a string. I and hen just wnat the file name that there was a match
for, then I am writing the reuslts to CF web page. Now I can eaisly grep the
string but I am simpky want the file name not the actual line for the string
found. so Right now I am doing the following:
> 
> grep foo *.*

You can use grep to grep the grep manpage for the right syntax:

man grep | grep '     -'

:)

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205620
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to