From owner-freebsd-questions Thu Mar 7 2:18:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id A9B5F37B405 for ; Thu, 7 Mar 2002 02:18:27 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id g27AIOH17432; Thu, 7 Mar 2002 11:18:24 +0100 (CET) (envelope-from stijn) Date: Thu, 7 Mar 2002 11:18:24 +0100 From: Stijn Hoop To: Bsd Neophyte Cc: freebsd-questions@freebsd.org Subject: Re: grep.... recursive searching Message-ID: <20020307111824.B16645@pcwin002.win.tue.nl> References: <20020307101335.6460.qmail@web20102.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020307101335.6460.qmail@web20102.mail.yahoo.com>; from bsdneophyte@yahoo.com on Thu, Mar 07, 2002 at 02:13:35AM -0800 X-Bright-Idea: Let's abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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