egrep on the 3b1 is weird!
guy.r.berentsen
guy at cbnewsc.att.com
Sat Mar 23 07:26:25 AEST 1991
> |> egrep 'foo|bar'
> |> matches lines containing fooar and fobar. That's why you need to use
>
> egrep 'foo|bar' will match either foo or bar, not fobar nor fooar.
>
On my unix pc at work (running 3.5) egrep 'foo|bar' matches foo or bar
(of course it also matches "fobar" and "fooar" since
the later contains the string "foo" and the former
contains the string "bar")
More information about the Comp.sys.3b1
mailing list