[Top][All Lists]

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

Re: Why does not rgrep use "grep -r"?

From: Miles Bader
Subject: Re: Why does not rgrep use "grep -r"?
Date: Sat, 03 Nov 2007 07:44:23 +0900

"Lennart Borgman (gmail)" <address@hidden> writes:
> If grep can do recursive searches then why not use that in rgrep?

I don't know the reason of the rgrep authors (though I suspect it was
portability concerns), but I have noticed something odd about "grep -r":
-- sometimes it seems _much_ slower than "find ... -type f | xargs grep"
on very large trees (I think I noticed with trees in NFS, where speed is
a perennial issue).  Dunno why this...


Americans are broad-minded people.  They'll accept the fact that a person can
be an alcoholic, a dope fiend, a wife beater, and even a newspaperman, but if a
man doesn't drive, there is something wrong with him.  -- Art Buchwald

reply via email to

[Prev in Thread] Current Thread [Next in Thread]