Xref: utzoo comp.bugs.sys5:1169 comp.bugs.4bsd:1447 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!ginosko!uunet!zephyr.ens.tek.com!tektronix!sequent!ccssrv!perry From: perry@ccssrv.UUCP (Perry Hutchison) Newsgroups: comp.bugs.sys5,comp.bugs.4bsd Subject: Re: s/A*./B/g editor bug? Message-ID: <741@ccssrv.UUCP> Date: 18 Oct 89 22:42:52 GMT References: <3522@aplcen.apl.jhu.edu> Reply-To: perry@ccssrv.UUCP (Perry Hutchison) Organization: Control-C Software, Inc., Beaverton, OR Lines: 17 In article <3522@aplcen.apl.jhu.edu> bink@aplcen.apl.jhu.edu (9704) writes: + I've noticed the ED s///g command works incorrectly when given the command + s/b*a/c/g + on the input line + aaaaaaaaaaaaaaaaaaaaa + -- the result is: + cacacacacacacacacacac + and it should be: + ccccccccccccccccccccc < documentation citation, according to which this is a bug, deleted > + Both VI and ED behave this way, on at least System V.2 and Ultrix-32 V3.1. Both also behave this way on SunOS 3.5, which is a 4.2 BSD derivative. Anyone care to try it out on a 2bsd or a V7 system?