bug-ed
[Top][All Lists]
Advanced

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

Re: [bug] Don't show "Newline appended" in script/-s mode


From: Antonio Diaz Diaz
Subject: Re: [bug] Don't show "Newline appended" in script/-s mode
Date: Sat, 07 Dec 2024 17:40:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hi Artyom,

Thank you very much for reporting this.

Artyom Bologov wrote:
Using ed for scripting, I encountered an unexpected bug: "Newline
appended" message appears even in the script mode, which is supposed to
strip off all the diagnostics. Maybe only show this message when not in
the script mode?

"Newline inserted" and "Newline appended" are not included in any of the 3 categories of messages shown by ed (diagnostics, help messages, and the byte counts and '!' prompt). Therefore they are not currently suppressed by '-q' or '-s', nor toggled by the 'H' command.

I think you are right that these two messages belong in the same category as byte counts and should be suppressed by '-s'. The fix will appear in the next version of ed. (Presumably ed-1.21 in January).

Best regards,
Antonio.



reply via email to

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