Your post prompted me to read the grep man page.  I found the following in
the grep man page that comes with a fairly recent version of Cygwin.

     -r, --recursive
            Read  all  files under each directory, recursively;
            this is equivalent to the -d recurse option.

Has this option always been there and I've simply been ignorant of it for
the past 10 years or did it get added recently?  Perhaps its always been in
the GNU/Linux version of grep but not in the commercial versions available
on Solaris and HPUX?

Now I just need to break the old habit of using find.

Mike Bresnahan
----- Original Message -----
From: "Florin Iucha" <florin at iucha.net>
To: <tclug-list at mn-linux.org>
Sent: Saturday, June 23, 2001 3:07 PM
Subject: Re: [TCLUG] Grep Question


> On Sat, Jun 23, 2001 at 01:03:15PM -0500, Perry Hoekstra wrote:
> > Greet the sun all:
> >
> > Question: How do you get grep to recursviely step through lower level
> > directorys?
> >
> > I am doing the following command:
> >
> > grep -l 'some text' *.html
> >
> > and it will look in the current directory but no lower.  I looked at the
> > man pages and my 'Linux in a Nutshell' book but could find no -r option.
> >
>
> grep --recursive ... ...
>
> florin
>
> --
>
> "you have moved your mouse, please reboot to make this change take effect"
>
> 41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list