From owner-freebsd-questions@FreeBSD.ORG Thu Nov 13 20:41:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B90A16A4CE for ; Thu, 13 Nov 2003 20:41:03 -0800 (PST) Received: from mail1.acecape.com (mail1.acecape.com [66.114.74.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A02743FBF for ; Thu, 13 Nov 2003 20:41:02 -0800 (PST) (envelope-from lists@natserv.com) Received: from p65-147.acedsl.com (p65-147.acedsl.com [66.114.65.147]) by mail1.acecape.com (8.12.10/8.12.10) with ESMTP id hAE4f0Xc006259; Thu, 13 Nov 2003 23:41:00 -0500 Date: Thu, 13 Nov 2003 23:42:37 -0500 (EST) From: Francisco Reyes X-X-Sender: fran@zoraida.natserv.net To: JacobRhoden In-Reply-To: <200311141504.57201.jrhoden@unimelb.edu.au> Message-ID: <20031113234031.G85730@zoraida.natserv.net> References: <20031113173505.F84157@zoraida.natserv.net> <20031113223611.X85161@zoraida.natserv.net> <200311141504.57201.jrhoden@unimelb.edu.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Matthew Hunt cc: FreeBSD Questions List Subject: Re: Recursion with grep? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Nov 2003 04:41:03 -0000 On Fri, 14 Nov 2003, JacobRhoden wrote: > No need to hack grep plese! just use -R (it appears the man page does not > document the -R function, but you need to use -R in grep for it to recurse. -R == -r That was mentioned in the previous emails. It only recurses directories. It will not work with a filemask. You can't say grep -r *.c You can only say grep -r