Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2023 23:14:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271817] sed: range change with N results in no output
Message-ID:  <bug-271817-227-l97GA2kYGl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271817-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271817-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271817

--- 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 cyc=
le (rather=20
> than executing the rest of the script) for every row of a 2-address range=
, not just=20
> the last one. This isn't what the spec actually says (as you quoted yours=
elf),=20
> though it might be considered to be more useful or consistent. (I looked =
for=20
> 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271817-227-l97GA2kYGl>