hey there - I am by no means a regular expressions guru, but I showed your 
question to someone who is at least more guru-ish than I and his thoughts were:

1 - are you sure you are starting in the right directory?
2- using fgrep would give you current directory and everything beneath it
3- your current syntax says you are looking for instances of "cfc.ces.dbdata" 
-- if you are in fact trying to get all instances of cfc or ces or dbdata then 
you should put a forward slash in front of each back slash.

I hope some of that is useful

Dana


>Okay, from everything I've read, I should be able to restrict a grep
>to a certain file type. Here's what I'm trying to do:
>
>list all file names that contain the following string "cfc.ces.dbdata"
>regardless of case, and search recursiving beginning with the existing
>directory and write it to a file called dbdata.txt.
>
>> grep -l -i -r "cfc\.ces\.dbdata" *.cfm > dbdata.txt
>
>but, it just tells me that *.cfm doesn't exist. What am I doing wrong?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:5/messageid:210979
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to