Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2023 23:20:41 +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-1nqgDjJ2wg@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 #7 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.u=
k> ---
(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.)

--=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-1nqgDjJ2wg>