pfg 9d7eecdabc sed: rewrite the main loop.
Rewrite the main loop of the "sed s/..." command, shortening it by ten
lines and simplifying it by removing the switch statement implementing
/g, /1, and /2 separately and repetitively.

This will be needed to bring a fix from OpenBSD later.

Obtained from:	OpenBSD (schwarze CVS Rev. 1.18)
MFC after:	3 weeks
2016-05-07 01:44:22 +00:00
..
2015-01-27 19:46:19 +00:00
2015-01-08 17:23:59 +00:00
2015-06-13 19:20:56 +00:00
2016-05-07 01:44:22 +00:00