Steps to recreate: tim@bsdbox$ ed a x1 y2 y3 . 2 -,+s/x/y/p y1 .= 1
BSD ed (tested both OpenBSD 6.2 and FreeBSD 11) leaves you on line 1 (the only/last line changed) tim@gnubox$ ed a x1 y2 y3 . 2 -,+s/x/y/p y3 .= 3 GNU ed (tested Debian Stable & Ubuntu 16.04LTS) leaves you on line 3 (the end of the range) Thanks, -Tim (@gumnos/@ed1conf) _______________________________________________ bug-ed mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-ed
