From owner-freebsd-questions Thu Mar 7 2:31: 0 2002 Delivered-To: freebsd-questions@freebsd.org Received: from bisclavret.iris33.ac-bordeaux.fr (0332832Z-nat1.ac-bordeaux.fr [194.199.34.67]) by hub.freebsd.org (Postfix) with ESMTP id 94DA437B402 for ; Thu, 7 Mar 2002 02:30:54 -0800 (PST) Received: (from benoit@localhost) by bisclavret.iris33.ac-bordeaux.fr (8.11.1/8.11.1) id g27BYkj25210 for freebsd-questions@freebsd.org; Thu, 7 Mar 2002 12:34:46 +0100 (CET) (envelope-from benoit) Date: Thu, 7 Mar 2002 12:34:46 +0100 From: Benoit Lacherez To: freebsd-questions@freebsd.org Subject: Re: grep.... recursive searching Message-ID: <20020307123446.A25142@bisclavret.iris33.ac-bordeaux.f> References: <20020307101335.6460.qmail@web20102.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20020307101335.6460.qmail@web20102.mail.yahoo.com>; from bsdneophyte@yahoo.com on Thu, Mar 07, 2002 at 02:13:35AM -0800 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 Bsd Neophyte a écrit : > > 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. > > 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. > > is there some uncomplicated way of doing a recursive search with grep? grep -r It seems that egrep works better (faster) than grep. -- Benoit Lacherez Académie de Bordeaux -- CATICE Projet de traduction de la documentation de Python: http://frpython.sourceforge.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message