Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2023 20:33:39 +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-5l07dOViN8@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 #2 from Mohamed Akram <mohd.akram@outlook.com> ---
(In reply to Andrew "RhodiumToad" Gierth from comment #1)

The expected output matches GNU sed. I'm not sure why you mention deletion,=
 I'm
not using any delete command. The first command changes the text in the ran=
ge
from a to b, and replaces it with x. The second command appends the next li=
ne,
and since we're not doing anything fancy with \n in the pattern space, it
should be a no-op. Therefore, the output should be identical to that of the
same script without $!N.

--=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-5l07dOViN8>