🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #130

Re: s/A*./B/g editor bug?

#130
From: Mikael Pettersson
Date: Fri, 20 Oct 1989 00:38
12 lines
967 bytes
In article <741@ccssrv.UUCP> perry@ccssrv.UUCP (Perry Hutchison) writes:
>In article <3522@aplcen.apl.jhu.edu> bink@aplcen.apl.jhu.edu (9704) writes:

[describes a bug in ed: s/b*a/c/g maps `aaaa' to `caca' instead of `cccc']

>Anyone care to try it out on a 2bsd or a V7 system?

On our pdp11 (2.10bsd), ed produces the incorrect result (caca) while
sed does the right thing (cccc).
-- 
Mikael Pettersson, Dept of Comp & Info Sci, University of Linkoping, Sweden
email: mpe@ida.liu.se  or  ..!{mcvax,munnari,uunet}!enea!liuida!mpe
Technical Details
Message-ID: <1389@majestix.ida.liu.se>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!liuida!mikpe
References: <3522@aplcen.apl.jhu.edu> <741@ccssrv.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!liuida!mikpe
From: mikpe@majestix.ida.liu.se (Mikael Pettersson)
Newsgroups: comp.bugs.4bsd
Subject: Re: s/A*./B/g editor bug?
Message-ID: <1389@majestix.ida.liu.se>
Date: 20 Oct 89 00:38:46 GMT
References: <3522@aplcen.apl.jhu.edu> <741@ccssrv.UUCP>
Organization: CIS Dept, Univ of Linkoping, Sweden
Lines: 12