From nobody Tue Dec 17 22:34:31 2024 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YCWnz6NnNz5hpML for ; Tue, 17 Dec 2024 22:34:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YCWnz4hg3z4qQh for ; Tue, 17 Dec 2024 22:34:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734474871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P/ypgsHq34BhBs/fG82LjgdfRHpXQbaXq375aoRiU0c=; b=nAKSUj5wp8DD81bfMMddeAIWi4y2t0Iuko9u7Qx+Ue7FeS13KlEdacAYk42jbE+5jhEPdS GNGNEkoBJRt/0r9LJ7oWsSEaPJheJczKytjOIYqUIhM+vF/qenirZfE348sInO/mY6Gt5+ ROrTFbRDS3+EAyTwBV4gediolcQbHPLNp/mBTrNv+zVRWa21bcsranYcRq2QJ3DhJh0zpR QdIIB3Ezd6hIcOIxodSL05UOrEa9YhDsSgRza2UJlqXRkXAr0Ogdh65GY5pazkM34Wo1mH gQbYm0LsfHVqUS+O3jnlCdX3qNxsbl5qH4gfTvVYy5AU8N7UdTVp6Xx/V6OZ/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734474871; a=rsa-sha256; cv=none; b=a556fhA87bQkk6iNuZfWLgx+Du8k6oa8lKEEO7+56Bumy2g13pWWUfFw3XuTVGccPc/kCn Y6mHDFwdeJcMi7AKTnR0QV5XKEf1XksSXeC/i9AmZNxiWC9sQvFtNYnKFloz3yytujTOF5 aTT7SsvFA26peD0iY/xUk7pVGlsknSC03q4ZAslqruIWH5toCp6+4WSMSl7BjOmD4xyU9H BSDLf8WQrQz3hWbV4JuyJjOOCPrphGfE8ZBh+kor/5J7DsRVYAKmbAwe5/oT7oNc32bVu3 kz3lALBVKH/Pyo4NqlRTsXsbcuugFwlOo/A+/NR35yRkv52NTwXLVI6VfKztyg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YCWnz4Gp3zhNn for ; Tue, 17 Dec 2024 22:34:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4BHMYVfw063743 for ; Tue, 17 Dec 2024 22:34:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BHMYVA4063742 for standards@FreeBSD.org; Tue, 17 Dec 2024 22:34:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 271817] sed: range change with N results in no output Date: Tue, 17 Dec 2024 22:34:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271817 --- Comment #16 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Da2d78713171cf138b5ae50d61f82df1af= 7574c95 commit a2d78713171cf138b5ae50d61f82df1af7574c95 Author: Valeriy Ushakov AuthorDate: 2024-12-17 22:27:01 +0000 Commit: Warner Losh CommitDate: 2024-12-17 22:34:06 +0000 sed: The change ("c") command should start a new cycle. The "c" command should start the next cycle as clarified in POSIX 2024. This is also consistent with historical and gnu sed behavior. This patch is from OpenBSD by way of NetBSD with a tweak to the man page date by me. Confirmed the test case in the bug now works. PR: 271817 Obtained from: NetBSD (1.39 uwe), OpenBSD (1.39 millert) Sponsored by: Netflix usr.bin/sed/process.c | 2 +- usr.bin/sed/sed.1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=