bzegrep behaviour not consistent with egrep?
Parv
parv at pair.com
Thu Oct 20 13:56:57 PDT 2005
in message <20051020194725.GA10376 at 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
--
More information about the freebsd-stable
mailing list