Date: Tue, 28 Oct 1997 10:38:34 +0200 (IST) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" cc: djgpp AT delorie DOT com Subject: Re: subdirectories (was: ANNOUNCE: Grep 2.1 uploaded) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 27 Oct 1997, Salvador Eduardo Tropea (SET) wrote: > I agree with you, for that reason I did a "grep shell", that's a friendly > interface to call grep. Additionally it adds the recursion. No matter how smart and friendly this interface will be, it won't support every possible way of using `grep'. That's why sometimes you will need to use `grep' in conjunction with `find'. Using `find' for recursively searching subdirectories is of course redundant in DJGPP, since we have the "..." wildcard, courtesy of DJ. But `find' can choose files it passes to `grep' using much more powerful and elaborate tests than you can ever do with `grep' alone. For example, you can limit the recursion to a certain depth of subdirectories, search only files created within last 2 days, or which are newer than a certain file, or larger than N bytes, etc.