CVSROOT: /cvs Module name: src Changes by: mart...@cvs.openbsd.org 2016/10/10 11:36:03
Modified files: bin/ed : sub.c Log message: Remove infinite loop detection from the s-command. If a zero-length match is found do the replacement and increment the start point for the next search by one. This allows for commands like s/^/- / This brings the behaviour closer to the way sed and vi work. OK schwarze@