Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site sunybcs.UUCP Path: utzoo!watmath!sunybcs!colonel From: colonel@sunybcs.UUCP (Col. G. L. Sicherman) Newsgroups: net.bugs.4bsd Subject: grep(1) - large bug Message-ID: <2707@sunybcs.UUCP> Date: Sun, 5-Jan-86 16:28:14 EST Article-I.D.: sunybcs.2707 Posted: Sun Jan 5 16:28:14 1986 Date-Received: Mon, 6-Jan-86 05:11:07 EST Distribution: net Organization: Travelers' Advisory Lines: 20 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