From nobody Mon Jun 19 15:08:07 2023 X-Original-To: bugs@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 4QlCnN0sXyz4fbfQ for ; Mon, 19 Jun 2023 15:08:08 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QlCnM3y9Vz47KD for ; Mon, 19 Jun 2023 15:08:07 +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=1687187287; 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=P6gMkBL2IpRcr64zmL9yOaTRT/2wLDFLkW4oS845/90=; b=Qt7R7TIS4ZSunFlvoJGVYcSMPuvEpFyjXv30pBTe3IaoI3FdK8RDrkBwNQlARjEuR8OYDo td3jf4BgKk/XxVMAQKGuIV7Dro+5S4c81GZm5qAlEPNro4x36RLBYUVsuE38GrbTVQAizo 0PZYIkIAOnFU8ZKYfF66W1EBcbTYPVQJdoszIJ+YTcmFD3tkr0+NYD01ochMDAxe+EAtEx gmdCnWm8MZVmXw4UyUW44Pp1aa0TP5ol99gvxWgl6iMkaZmBzkBMQ4JtjOm93dQQJ7XpTu QohbpSQkA2WEyoBZeewnfz7B5GOyYsov6g+fsFYhQ1B2OVlSjPsGatBVUlaM/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687187287; a=rsa-sha256; cv=none; b=dVtgjPEjDr1jAtt9tOiUh+4WEqPYcU+6vSjB2xlJXypvWLqPudtd1CGA73OU+EcZvKHNnc ++34l3vehEsRArckeBcFushOl1XQ96DViJgNnn+R5PG655xIu4LzWaFjCWaCLr98I9Qnp3 VcZ9Xkl5yiipkFasnOJDARlQEbij0CqBDDuN/y9+KZ7USTztWtn5MVzo3+ArM5D9XOmTOv Wi6tnkk0oK2K4zwUUlja5Qk3BZQ6BnxaV070xROsABEQptIEiLkZBlqRNVI9mgZ5k3aQKp wMwZXxTQClSwWjl3Le+WtgQCKVmo0xH50PW+oN87IpfnmsZLTEM8YniOkfT5+g== 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 4QlCnM2mRXzMbk for ; Mon, 19 Jun 2023 15:08:07 +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 35JF87un047917 for ; Mon, 19 Jun 2023 15:08:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35JF87oH047916 for bugs@FreeBSD.org; Mon, 19 Jun 2023 15:08:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271817] sed: range change with N results in no output Date: Mon, 19 Jun 2023 15:08:07 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: andrew@tao11.riddles.org.uk X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271817 --- Comment #9 from Andrew "RhodiumToad" Gierth --- (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.=