find and searching for specific expression in files
z.szalbot at lcwords.com
Sat May 30 10:20:32 UTC 2009
>> Can you please give me a hint how to use find to search for a specific
>> text within files?
> Generally, you don't - find(1) does not examine the contents of files by
> itself, just their directory information. You normally use grep(1) to
> search within a file.
Ahhh - I use grep on daily basis. Now why didn't I think of it? I got so
fixed on the idea of using find that I completely forgot about grep....
Sorry for the noise and thank you very much for your help!
More information about the freebsd-questions