> 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 *.*
grep -c foo * | awk -F':' '{print $1}'
--
<mack />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:205516
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