On Sun, 25 Sep 2022 13:12:44 +0200, =?UTF-8?Q?S=C3=B6ren?= Tempel wrote: > Currently, the OpenBSD ed implementation incorrectly writes information > to standard error that should be written to standard out (as per POSIX). > > For the read and write command the POSIX standard states the following: > > If the command is successful, the number of bytes written shall > be written to standard output [...] > > However, OpenBSD ed presently writes the number of bytes (for both the > read and the write command) to standard error. Furthermore, the POSIX > standard mandates that the infamous "?\n" error string should also be > written to standard output while OpenBSD ed presently writes the string > to standard error.
Committed, thanks. - todd