Date: Thu, 7 Mar 2002 11:18:24 +0100 From: Stijn Hoop <stijn@win.tue.nl> To: Bsd Neophyte <bsdneophyte@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: grep.... recursive searching Message-ID: <20020307111824.B16645@pcwin002.win.tue.nl> In-Reply-To: <20020307101335.6460.qmail@web20102.mail.yahoo.com>; from bsdneophyte@yahoo.com on Thu, Mar 07, 2002 at 02:13:35AM -0800 References: <20020307101335.6460.qmail@web20102.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Dxnq1zWXvFF0Q93v
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi,
On Thu, Mar 07, 2002 at 02:13:35AM -0800, Bsd Neophyte wrote:
> I'm reading up on grep... (thanks for the explaining the find command...
> that let me move forward)... and i've noticed that while you can search
> for a "regular expression" (did I use that right?) there is no mention of
> any ability to do a recursive search.
>=20
> i checked the man page and seached for the "regular expression" (this will
> be on a quiz tomorrow... that's why i'm using it so much :D ) "recursive"
> but nothing came up.
>=20
> is there some uncomplicated way of doing a recursive search with grep?
Do you mean searching multiple files? If so, check out the -r option.
=46rom the man page:
-r, --recursive
Read all files under each directory, recursively;
HTH,
--Stijn
--=20
The right half of the brain controls the left half of the body. This means
that only left handed people are in their right mind.
--Dxnq1zWXvFF0Q93v
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE8hz5wY3r/tLQmfWcRAn2xAJ9BjsuESFNbPBNnCPXxno2edrD+xQCgnnxb
T201p6fhX5vObxlo3pAzwXc=
=EZQg
-----END PGP SIGNATURE-----
--Dxnq1zWXvFF0Q93v--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020307111824.B16645>
