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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Jun 2023 23:20:41 UTC

--- Comment #7 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.uk> ---
(In reply to Mohamed Akram from comment #6)

For what it's worth, the failure to output the "b","d","f" lines is because our
sed has a "pattern deleted" flag which is set by "c" (and not reset by "N"),
which suppresses the output of the pattern space at the end of the cycle. (I
haven't looked at GNU sed's logic.)

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