egrep on the 3b1 is weird!

Kris A. Kugel kak at hico2.UUCP
Sat Mar 16 05:16:16 AEST 1991


Am I confused, or does egrep on the 3b1
handle multiple regular expressions incorrectly?

	egrep 'foo|bar'

seems to match '[fb][oa][or]' patterns,
instead of what I wanted (matching lines with "foo" or "bar")

                               Kris A. Kugel
                             ( 908 ) 842-2707
                      uunet!tsdiag.ccur.com!hico2!kak
                        {daver,ditka,zorch}!hico2!kak
                      internet: kak at hico2.westmark.com



More information about the Comp.sys.3b1 mailing list