Date: Thu, 13 Nov 2003 23:42:37 -0500 (EST) From: Francisco Reyes <lists@natserv.com> To: JacobRhoden <jrhoden@unimelb.edu.au> Cc: FreeBSD Questions List <questions@freebsd.org> Subject: Re: Recursion with grep? Message-ID: <20031113234031.G85730@zoraida.natserv.net> In-Reply-To: <200311141504.57201.jrhoden@unimelb.edu.au> References: <20031113173505.F84157@zoraida.natserv.net> <20031113223611.X85161@zoraida.natserv.net> <200311141504.57201.jrhoden@unimelb.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <string> *.c You can only say grep -r <string> <directory>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031113234031.G85730>