[PLUG] Bash question . . .

Randal L. Schwartz merlyn at stonehenge.com
Mon Nov 7 02:23:35 UTC 2011


>>>>> "Martin" == Martin A Brown <martin at linux-ip.net> writes:

Martin> Oh, and yes, fgrep is just a another variant of grep for handling 
Martin> fixed strings.  This can be noticeably faster on large samples of 
Martin> input.

In a former lifetime, yes.  But now with Boyer-Moore and other
optimizations, grep can actually beat fgrep, except for very large sets
of fixed strings.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion




More information about the PLUG mailing list