delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/28/03:38:48

Date: Tue, 28 Oct 1997 10:38:34 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
cc: djgpp AT delorie DOT com
Subject: Re: subdirectories (was: ANNOUNCE: Grep 2.1 uploaded)
In-Reply-To: <m0xPoDR-000S24C@inti.gov.ar>
Message-ID: <Pine.SUN.3.91.971028103817.22947E-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019