[net.bugs.4bsd] grep

colonel@sunybcs.UUCP (Col. G. L. Sicherman) (01/06/86)

Reproduce by:	echo bug | grep \[

What happens:	same as if you typed 'yes "RE botch"'

Why:		endless loop in advance() in grep.c

Fix:		do something sane in the default clause of the switch()

_._
"On behalf of Bogopolis, I am honored to accept this ... Wait a minute!
  This is not the World's Largest Diamond!"
"Of course not, Captain BUFFOON!  It's a big chunk of VOOPTONITE!"
"Auggggh! Urggggh! Gasp! ... And you're not Commander Pinkney, the Brazil-
  ian explorer! You're ... you're ... you're ..."
"Ha HO ho haw! HAW HAW yak yak yak!"
-- 
Col. G. L. Sicherman
UU: ...{rocksvax|decvax}!sunybcs!colonel
CS: colonel@buffalo-cs
BI: csdsicher@sunyabva

wombat@ccvaxa.UUCP (01/08/86)

Note that this bug is in /usr/ucb/grep, but not in /bin/grep.


"When you are about to die, a wombat is better than no company at all."
				Roger Zelazny, *Doorways in the Sand*

						Wombat
					ihnp4!uiucdcs!ccvaxa!wombat