searching insed(ide) files

Miguel Mendez flynn at energyhq.homeip.net
Mon Apr 7 04:28:54 PDT 2003


On Mon, 7 Apr 2003 13:24:52 +0200
CARTER Anthony <a.carter at cordis.lu> wrote:

Howdy,

> I am looking for a way to search inside a number of text files for a 
> particular string and return the name of the file if found. Any ideas?

man grep

example: grep foo *.c

Cheers,
-- 
        Miguel Mendez - flynn at energyhq.homeip.net
        GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
        EnergyHQ :: http://www.energyhq.tk
	Tired of Spam? -> http://www.trustic.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030407/74503d45/attachment.bin


More information about the freebsd-questions mailing list