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

Mikael Pettersson mikpe at majestix.ida.liu.se
Fri Oct 20 10:38:46 AEST 1989


In article <741 at ccssrv.UUCP> perry at ccssrv.UUCP (Perry Hutchison) writes:
>In article <3522 at aplcen.apl.jhu.edu> bink at 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 at ida.liu.se  or  ..!{mcvax,munnari,uunet}!enea!liuida!mpe



More information about the Comp.bugs.4bsd.ucb-fixes mailing list