M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy].

James A. Woods jaw at nike.UUCP
Wed Sep 24 12:04:27 AEST 1986


# "find a need and fill it" -- kaiser cement co.

huzzahs to mr. anderson for an amazing egrep benchmark.
for the record, on a 68020 box running bsd 4.3, the user time for

egrep "M[ou]'?am+[ae]r .*([AEae]l[- ])?[GKQ]h?[aeu]+([dtz][dhz]?)+af[iy]" egad

where file 'egad' is the posting itself, is 1.0 seconds using standard
egrep, or 0.1 seconds using my own algorithm (w/help from boyer/moore and
h. spencer).  i can only add that since e?grep is now kanji-unix compatible,
/usr/dict/web2 is hopefully again safe from terrorist attacks such as this.

james a. woods (ames!jaw)



More information about the Comp.unix mailing list