Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!vsi1!zorch!hico2!kak From: kak@hico2.UUCP (Kris A. Kugel) Newsgroups: comp.sys.3b1 Subject: egrep on the 3b1 is weird! Keywords: egrep unix-pc 3b1 Message-ID: <1268@hico2.UUCP> Date: 15 Mar 91 19:16:16 GMT Organization: High Country Software Lines: 13 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@hico2.westmark.com