bug-ed
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buffered I/O and ed shell escape command


From: Andrew L. Moore
Subject: Re: Buffered I/O and ed shell escape command
Date: Fri, 7 Jan 2022 20:05:53 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

| | 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

[Prev in Thread] Current Thread [Next in Thread]