From owner-freebsd-questions Wed Feb 20 3:18:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mxzilla3.xs4all.nl (mxzilla3.xs4all.nl [194.109.6.49]) by hub.freebsd.org (Postfix) with ESMTP id A052E37B400 for ; Wed, 20 Feb 2002 03:18:12 -0800 (PST) Received: from xs4.xs4all.nl (xs4.xs4all.nl [194.109.6.45]) by mxzilla3.xs4all.nl (8.12.0/8.12.0) with ESMTP id g1KBIBBn071270 for ; Wed, 20 Feb 2002 12:18:11 +0100 (CET) Received: (from rene@localhost) by xs4.xs4all.nl (8.9.0/8.9.0) id MAA24053 for questions@freebsd.org; Wed, 20 Feb 2002 12:18:05 +0100 (CET) Date: Wed, 20 Feb 2002 12:18:04 +0100 From: rene@xs4all.nl To: questions@freebsd.org Subject: how to search IN a bunch of files? Message-ID: <20020220121803.E5644@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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 Hello. I'd like to be able to search in all files on my freebsd system for a given regexp. Yes, I want to search the contents of the files specified. I can get find(1) to supply me with a list of valid paths, but am unsure how to grep within all these files. an example would be appreciated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message