Date: Mon, 19 Jun 2023 15:08:07 +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-Qt0BhO0LWV@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 #9 from Andrew "RhodiumToad" Gierth <andrew@tao11.riddles.org.u= k> --- (In reply to Mohamed Akram from comment #8) NetBSD reference: https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=3D45981 That claims that the v7 manual said: Delete the pattern space. With 0 or 1 address or at the end of a 2-address range, place text on the output. Start the next cycle. ... which disagrees with what the spec now says. (As far as I can tell from= a quick look, given that it's not the most readable code in the world, the v7= sed does in fact behave as documented in this case.) So, I think this can definitely be argued to be a defect in the spec; you should certainly take it up with them if you care about it. --=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-Qt0BhO0LWV>