[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: About grep



>
> On January 11, 2004 07:50 pm, MKlinke wrote:
> >
> > Take a look at the documentation: "man grep" and look for the string
> > "recurse." It's about 1/2 way down the page.
> >
> > Regards,  Mike Klinke
>
>
> hmm, that would be much simpler than playing with the powerful
> and confusing
> 'find' :-o
> --

But less fun :)

Agreed from a practical point of view:
>From the grep(1) page:
-R, -r, --recursive
              Read all files under each directory, recursively; this is
equiv-
              alent to the -d recurse option.

If you're going to do that you may also be interested in:
  -a, --text
              Process a binary file as if it were text; this is equivalent
to
              the --binary-files=text option.

Ben Y








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]