[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: g/x/s/x/x prints every substituted line twice
From: |
Antonio Diaz Diaz |
Subject: |
Re: g/x/s/x/x prints every substituted line twice |
Date: |
Mon, 22 Apr 2024 21:33:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hello,
Douglas McIlroy wrote:
observed in versions 1.18 and 1.20.1
Thank you very much for reporting this.
When I implemented case-insensitive REs in 1.18 I made a stupid mistake
(fail to skip the newline when the last delimiter is omitted) that resulted
in the defect you reported.
I'll release a fixed version of ed soon.
Best regards,
Antonio.