Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 16:57:04 -0400
From:      Parv <parv@pair.com>
To:        James Long <stable@museum.rain.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: bzegrep behaviour not consistent with egrep?
Message-ID:  <20051020205704.GC4000@holestein.holy.cow>
In-Reply-To: <20051020194725.GA10376@ns.museum.rain.com>
References:  <20051020194725.GA10376@ns.museum.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <20051020194725.GA10376@ns.museum.rain.com>,
wrote James Long thusly...
>
> Should these two commands produce identical output?
> 
> $ bzegrep "38436|41640" /var/log/maillog.0.bz2 | wc -l
>        0
> $ bzcat /var/log/maillog.0.bz2 | egrep "38436|41640" | wc -l
>      121

And more fun, try also "egrep -J| wc", which is similar to the 2d
case above.  Seems like the first "e" in "bzegrep" is erroneous.


  - Parv

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051020205704.GC4000>