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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271817 --- 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 range from a to b, and replaces it with x. The second command appends the next line, 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. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271817-227-5l07dOViN8>
