in message <[EMAIL PROTECTED]>, wrote Jung-uk Kim thusly... > > On Thursday 20 October 2005 04:57 pm, Parv wrote: > > in message <[EMAIL PROTECTED]>, > > wrote James Long thusly... ... > > > $ 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. > > Can you elaborate the fun, please?
In short: will you take "bad choice of words" as an explanation? In somewhat long form: i had read once, twice, or more times in past (most likely in comp.unix.*) that "egrep" was exactly not same as "grep -E", and/or "fgrep" not exactly as "grep -F". The OP's finding reminded me of that even if behaviour difference that was due to an actual bug. - Parv -- _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"