in reply to Re: Removing all none 8 letter words from the dict/words file
in thread Removing all non 8 letter words from the dict/words file

egrep is faster.

Oh, wait, you've probably got grep aliased to egrep just like I do!

-QM
--
Quantum Mechanics: The dreams stuff is made of

Replies are listed 'Best First'.
Re^3: Removing all none 8 letter words from the dict/words file
by salva (Canon) on Apr 09, 2006 at 15:25 UTC
    actually, on my linux box, grep is GNU grep, and egrep is a shell wrapper for grep:
    #!/bin/sh exec grep -E ${1+"$@"}
      So you don't have to worry about the metacharacter differences between grep and egrep. I can't remember what the differences are exactly, but for some reason I recall that grep was slightly less cumbersome on the jobs I did most often.

      On the other hand, you have to wonder if GNU grep is the same as the grep that came before, and suffers from the same slowdowns. Probably not ;)

      -QM
      --
      Quantum Mechanics: The dreams stuff is made of