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

Re: Where is GMT=?



Eloy A. Paris wrote:
> Scott K. Ellis <storm@stormcrow.org> wrote:
> 
> >> The mist could be penetrated if only grep had a -R (recurse through
> >> directories) option ;-)
> > 
> > find . -type f -print0 |  xargs -0 grep foo
> 
> Isn't "grep foo `find . -type f`" more efficient than the above?

I haven't followed this thread completely, but has 'rgrep' been mentioned?

$ dpkg --status rgrep
Package: rgrep
Status: install ok installed
Priority: optional
Section: text
Installed-Size: 29
Maintainer: "Christian Hammers" <ch@debian.org>
Source: jed
Version: 0.98.7-14
Depends: libc6, slang1 (<< 1.3), slang1 (>> 1.2.2-0)
Description: Recursive, highlighting grep program.
 Unlike grep and egrep, rgrep has the ability to recursively descend
 directories and highlighting matches.


Reply to: