[Bug 271817] sed: range change with N results in no output

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Jun 2023 23:14:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271817

--- Comment #6 from Mohamed Akram <mohd.akram@outlook.com> ---
(In reply to Andrew "RhodiumToad" Gierth from comment #5)

Thank you for this.

> Alternatively, you (or GNU sed) may be assuming that "c" starts a new cycle (rather 
> than executing the rest of the script) for every row of a 2-address range, not just 
> the last one. This isn't what the spec actually says (as you quoted yourself), 
> though it might be considered to be more useful or consistent. (I looked for 
> applicable defect reports against the spec, didn't find any.)

I now wonder if other implementations output bdf as expected. Might be worth
opening a ticket against the spec to clarify this ambiguity.

-- 
You are receiving this mail because:
You are the assignee for the bug.