Date: Mon, 17 Nov 2003 12:29:44 -0500 (EST) From: Francisco Reyes <fran@natserv.net> To: parv <parv@pair.com> Cc: FreeBSD Questions List <questions@freebsd.org> Subject: Re: Recursion with grep? Message-ID: <20031117122644.S55057@zoraida.natserv.net> In-Reply-To: <20031114040351.GA40112@moo.holy.cow> References: <Pine.BSF.4.21.0311131524240.1234-100000@java2.dpcsys.com> <20031113183118.T3617@d66-183-123-52.bchsia.telus.net> <20031114040351.GA40112@moo.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 13 Nov 2003, parv wrote: > in message <20031113223951.X85161@zoraida.natserv.net>, > wrote Francisco J Reyes thusly... > > > > Do we want something like: > > grep -r <string> *.c > > I do not know about anybody else, i myself like to keep the current > behaviour for -r option. Several people have expressed a simmilar sentiment, but I don't quite understand why. As it stands grep can't recurse and search only certain files. I can only imagine how many time this probably has shown up on this and many other lists. After all if you can do grep <some text> *.c The logical thing is to expect the following to work grep -r <some text> *.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031117122644.S55057>