fgrep (isn't)

Charlie Mills charliem at shark.UUCP
Thu Jul 11 04:22:48 AEST 1985


Under 4.2 on a vax, egrep is always faster than grep, running in about
two thirds the time.  But notice that egrep uses more memory, and there
are one or two things grep can do that egrep can't (-v option).  Fgrep
is intended to be used with a string-list instead of a pattern.
Emphasis on *list*.  The string-list is usually taken from a file.

I wonder why grep is faster than egrep on the Unisoft SysVr2 ports.
Did AT&T or Unisoft speed up grep?  Did Berkeley speed up egrep?  Is
memory size the issue?

	-- Charlie Mills
UUCP: ..{ucbvax,decvax,uw-beaver,hplabs,ihnp4,allegra}!tektronix!shark!charliem
CSNET:	shark!charliem at tektronix
ARPA:	shark!charliem.tektronix at rand-relay
USMail: M/S 61-277
	Tektronix, Inc.
	P.O. Box 1000
	Wilsonville, OR 97070



More information about the Comp.unix mailing list