bug-ed
[Top][All Lists]
Advanced

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

Re: [Bug-ed] Change in ed 1.14.1


From: Antonio Diaz Diaz
Subject: Re: [Bug-ed] Change in ed 1.14.1
Date: Mon, 06 Feb 2017 00:40:58 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hello,

Tyler Spivey wrote:
One change in ed 1.14.1 is particularly annoying during interactive use.
Specifically, the file access errors no longer appear (no such file or
directory, permission denied, etc).

It was not my intention to annoy anybody. :-)

I changed the condition for the file diagnostic from '!scripted' to 'verbose' because the posix standard[1] states that:

  -s
      Suppress the writing of byte counts by e, E, r, and w commands
      and of the '!' prompt after a !command.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ed.html

It says nothing about '-s' affecting diagnostic messages.

But I see that the file diagnostic replaces a byte count in case of error. So probably it makes the most sense to print it if !scripted.

I have just uploaded a corrected version[2]. If no more annoyances appear, I'll release it as 1.14.2.

[2] http://download-mirror.savannah.gnu.org/releases/ed/ed-1.14.1a.tar.lz


Best regards,
Antonio.



reply via email to

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