Bug in 3.5 grep

Paul Blumstein paulb at ttidca.tti.com
Wed May 31 03:30:13 AEST 1989


A file contains the following line:

Subject: Re: Icarus factor...

Attempt is made to retrieve it with the following command:

grep -i '^subject:.*re' 24289

This does not work with 3.5 grep.  It does work with 4.0 grep & 3.5
egrep.

Note that the following 2 variations do work:

grep -i '^subject:.*Re' 24289
grep 'Subject:.*Re' 24289
=============================================================================
Paul Blumstein       | "thirty something" refers to the number of
Citicorp/TTI         |  commercials per episode.
Santa Monica, CA     +-------------------------------------------------------
{philabs,csun,psivax}!ttidca!paulb  or  paulb at ttidca.TTI.COM
DISCLAIMER: Everything & everyone is hereby disclaimed!



More information about the Comp.sys.sun mailing list