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

2023-12-05 Thread Roberto E. Vargas Caballero
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

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

2023-11-15 Thread Rene Kita
On Tue, Nov 14, 2023 at 07:42:03PM +0100, Roberto E. Vargas Caballero wrote: > Hi, > > On Sun, Nov 05, 2023 at 02:38:20PM +0100, Rene Kita wrote: > > On Fri, Nov 03, 2023 at 01:32:37PM +0100, Rene Kita wrote: > > > borked patch > > > > Patch is not sufficient, sorry for the noise. > [...] > I

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

2023-11-14 Thread Roberto E. Vargas Caballero
Hi, On Sun, Nov 05, 2023 at 02:38:20PM +0100, Rene Kita wrote: > On Fri, Nov 03, 2023 at 01:32:37PM +0100, Rene Kita wrote: > > borked patch > > Patch is not sufficient, sorry for the noise. I have this problem in my radar. I began to write a solution for it, but I had to switch to implement

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

2023-11-05 Thread Rene Kita
On Fri, Nov 03, 2023 at 01:32:37PM +0100, Rene Kita wrote: > borked patch Patch is not sufficient, sorry for the noise.

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

2023-11-03 Thread Rene Kita
The Open Group Base Specifications Issue 7, 2018 edition: |Substitute Command | |Synopsis: | |(.,.)s/RE/replacement/flags [...] | A line can be split by substituting a into it. The | application shall ensure it escapes the in the replacement | by preceding it by . --- ed.c