Subject: Re: Replacement for grep(1) (part 2)
To: Jamie Howard <firstname.lastname@example.org>
From: Dag-Erling Smorgrav <email@example.com>
Date: 07/07/1999 20:20:53
Jamie Howard <firstname.lastname@example.org> writes:
> Due to the number of fixes I have received over the past few days, I
> decided to put together a new release of grep. It was either this or
> watch _Titanic_ on Cinemax.
A clear-cut choice.
> I changed it so that even when called as grep or with -G, it treats the
> pattern as an extended regular expression. GNU grep behaves the same way.
Hmm, well, never mind standards I guess.
> Archie Cobbs dropped the hint needed to solve the problems with -x. Right
> now, I wrap the pattern with "^(" and ")$". I know GNU grep does this,
> but is this correct?
Yes. You can solve -w in a similar manner by using \< and \>.
> Now, as it stands, I beleive this implementation is identical to GNU grep,
> Due to problems with the previous download site (it is down as I type
> this), I will place this file in two locations:
Mirror site: ftp://ftp.ofug.org/pub/grep/
Dag-Erling Smorgrav - email@example.com