Gurus,
I have been very successful using the following command to find files with a particular string in them, but have come into a situation where I need to search for a case insensitive string. There is no consistency as to how the string is typed in the files. Any ideas how I can modify this to make it case insensitive or any other search commands that would do the job?
I use two versions depending upon the string:
find directory -type f -print | xargs grep string
find directory -type f -print | xargs grep "string"
find sql -type f -print | xargs grep agencyagreementsload.Agreements_load
find sql -type f -print | xargs grep "I'm here"
Your help is greatly appreciated.
Thanks,
gsdcrazy
I have been very successful using the following command to find files with a particular string in them, but have come into a situation where I need to search for a case insensitive string. There is no consistency as to how the string is typed in the files. Any ideas how I can modify this to make it case insensitive or any other search commands that would do the job?
I use two versions depending upon the string:
find directory -type f -print | xargs grep string
find directory -type f -print | xargs grep "string"
find sql -type f -print | xargs grep agencyagreementsload.Agreements_load
find sql -type f -print | xargs grep "I'm here"
Your help is greatly appreciated.
Thanks,
gsdcrazy