bug-ed
[Top][All Lists]
Advanced

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

Re: GNU ed 1.20 released


From: Ralph Corderoy
Subject: Re: GNU ed 1.20 released
Date: Wed, 14 Feb 2024 11:27:58 +0000

Hi Antonio,

> I don't like the idea of printing random unsolicited text at
> startup.  The line printed may be long, may be empty, may not exist
> (if the file is empty), or may contain confusing text resembling an
> error message or a byte count.  And it may be even worse if ed is
> invoked indirectly and "the user doesn't see '+4'".

My suggestion would avoid this as the user would explicitly choose to
+42p over +42 if they want the line printed.  Or +42n or +'$-3l'.

> It would be better to print an informative message like "Starting at
> line 4", "Moving to line 4", or "Current line set to 4".

This is very much not in the spirit of ed.  Or Unix, come to that.
Please don't do this.

-- 
Cheers, Ralph.



reply via email to

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