Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 13:29:01 +0200
From:      Miguel Mendez <flynn@energyhq.homeip.net>
To:        CARTER Anthony <a.carter@cordis.lu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: searching insed(ide) files
Message-ID:  <20030407132901.6326f1e3.flynn@energyhq.homeip.net>
In-Reply-To: <200304071324.52494.a.carter@intrasoft.lu>
References:  <200304071324.52494.a.carter@intrasoft.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
--=.,4.?YK+k/LbTfD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 7 Apr 2003 13:24:52 +0200
CARTER Anthony <a.carter@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@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

--=.,4.?YK+k/LbTfD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)

iD8DBQE+kWEAnLctrNyFFPERAu1VAJ9fqrex6UFvwZ/y2/ANjFgfpnbbOQCgu9pp
ya2UeGBml4/aD+0Q4gjVlbc=
=Hpkf
-----END PGP SIGNATURE-----

--=.,4.?YK+k/LbTfD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407132901.6326f1e3.flynn>