shlomo solomon <[EMAIL PROTECTED]> writes: > It exists on Mandrake too. BTW, the rgrep man page (dated 1996) > wrongly claims that grep doesn't recurse.
This was the case then, but grep (at least the GNU grep) added the recursion capability since then. I would not be surprised if on some systems rgrep were just "grep -r" inside (this is the case with egrep and fgrep, I think). Thre is little reason to use rgrep instead of grep now, except rgrep highlights the matches. What I am not sure of is whether "grep -r" follows symlinks (rgrep had an option for that). > FWIW, I used **time** to compare performance found that grep is slightly > faster. > grep : 12.38user 16.65system 6:11.68elapsed 7%CPU > > rgrep: 12.19user 18.05system 6:17.64elapsed 8%CPU It seems to me these numbers are the same, statistically speaking. -- Oleg Goldshmidt | [EMAIL PROTECTED] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
