Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'grep faster and more effectively than grep, using grep' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
grep faster and more effectively than grep, using grep
Authored by: jefftang on May 24, '07 09:55:06AM

fgrep and grep are actually the exact same program. They are hard links to the same file. Their behavior is determined by the name they're called by.

For fixed string searches their speed is just about the same as far as I can tell. The only good reason to use fgrep is if you have special regexp characters that you don't want to escape.



[ Reply to This | # ]