[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ed] Different behavior GNU ed and oed
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Bug-ed] Different behavior GNU ed and oed |
Date: |
Fri, 01 Mar 2019 19:05:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Hi Bjoern,
Bjoern Wibben wrote:
:g/test/s/^/#/g
infinite substitution loop
Thanks for reporting this.
GNU ed has always behaved like this for non-empty replacements of empty
matches, but it could be more clever and notice that /^/ can only match
once in a line and ignore the 'g' suffix.
I'll fix this as soon as possible.
Best regards,
Antonio.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Bug-ed] Different behavior GNU ed and oed,
Antonio Diaz Diaz <=