Re: [hackers] [sbase][PATCH] ed: Allow newlines in a Substitute Command

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Tue, 5 Dec 2023 10:15:18 +0100

Hi,

On Wed, Nov 15, 2023 at 08:56:56AM +0100, Rene Kita wrote:
> > I think the way to fix this problem is reading the full command before
> > executing it, otherwise there are so many traps. I am going to try to
> > fix this in th enext days.
>
> I had the same idea. Reading the full command will put the
> logic to detect the end of the command in one place. This should give
> better code.
>
> Also, you will have to change how addresses for the global command are
> collected/remembered. We need to act on the original lines and not on
> the lines inserted by a global command.

I have sent the patches to the hacker ml. I tested them for a few days
and it seems to work fine, but would be wonderful if you can take a look
and see if they are fine for you too.


Regards,
Received on Tue Dec 05 2023 - 10:15:18 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 05 2023 - 10:24:35 CET