| | Alexander Jones wrote:
| |     I wouldn't put too much stock into comparing the GNU version of
| |     ed with OpenBSD's, since they both ultimately derive from the
| |     same implementation (written in the early-to-mid 1990s by Andrew
| |     Moore) and thus could share long-standing bugs. That being said,
| |     I concur with your reading of the POSIX spec that the modified
| |     command string should be printed before the command is executed,
| |     so this is likely a bug that should be fixed in GNU and reported
| |     to the various BSDs.
|
| Antonio wrote:
| Agreed. In spite of the many changes made in GNU ed since 2006, most
| of the code still comes from Andrew's implementation of 1993-1994,
| so this bug may be also present in BSD ed.

For the record, the bug exists in ed-0.2, OpenBSD and NetBSD.  It does
not exist on FreeBSD or my own version.
-AM

Reply via email to