From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from asquith.prosimetrum.com ([125.236.209.157]) by ewsd; Fri Jan 11 19:49:30 EST 2019 Message-ID: <4CC5E0A33C3EE1BA8BA08B1F09AC4BD1@prosimetrum.com> Date: Sat, 12 Jan 2019 13:52:27 +1300 From: umbraticus@prosimetrum.com To: 9front@9front.org Subject: Re: [9front] bug in sed In-Reply-To: 20190112005210.58195700@gmx.de MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: self-healing NoSQL XML over ACPI persistence browser yes, sam does it all at once, while sed iterates. from sed(1): g Global. Substitute for all non- overlapping instances of the regular expression rather than just the first one. from ed(1): ... If the global replacement indi- cator `g' appears after the command, all subsequent matches on the line are also replaced... So should "non-overlapping" and "subsequent" not apply to ^ matches? I guess this was hiro's earlier point.