From nobody Sun Jun 18 20:33:39 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 4Qkl3R6BlNz4fXxF for ; Sun, 18 Jun 2023 20:33:39 +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 4Qkl3R4n8Hz3L0M for ; Sun, 18 Jun 2023 20:33:39 +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=1687120419; 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=T5UYRzLJaAOc7Rmvo/exh3loqlq26XF/RLSpoRMiOYo=; b=lfnlmQLf216OLIdGf1rnSPHvnzcwLS9e++zmdkJ6dHap7J4/QRKBFTpa9nQR5J0nC2BRoL PM2WRngk6yoL52w9bVm4nb30pi80suwgv4CZuLcvuF59dLA5Ie27kk6q5IRzUmSFTmriQy O6G8g3iF9Y+dB78mNqO6EbfEFx/lYffjcdspMN3P/9UQemeqU0Lfynkgq6VJpiqfVSktsY gJDc8ca2aTebwyVV13lohOe0xeTjxI035N8RNUMCN4UNFKrvEOdnPnFOgnxouH0fbH+1R3 FM5ZAKj3nZ+czurx5itPtBuMS3RIF/zibMe4YChlE2QzhVh1neR8wZ4u4IWLag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687120419; a=rsa-sha256; cv=none; b=ChTn65VUtJPRjicHbUE7gnaHsL3iK2fOTisZRxIjcvDATSqFJN/PxgnyFemtIOVxWplvnB L1wi1lNuMm7LVoh0cp1Rs6LIJPgdz/r156n+iWcBwSMct21v+SJdn04xaUuVkLjrSbUk1k iZyEGGhrct+SjJIXO9G1sZnev4aUrkdjjwGUzTqgaRz61R7VqjU5XPuijE91EtughuP12Z Z9z9avwraR03m+7dbTXNhktq5hbJwBm0SG6tq2JrVVSNpXXGeZuiEu6XDD6C5G6irIdZO/ tuh60qBHkPbUWdu9vyrpUZMNeu3ki80qUYE7lzviZbbkCU5CC8Xk7R5jW14BLQ== 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 4Qkl3R3sN2zpt5 for ; Sun, 18 Jun 2023 20:33:39 +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 35IKXdS1091717 for ; Sun, 18 Jun 2023 20:33:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35IKXdwa091716 for bugs@FreeBSD.org; Sun, 18 Jun 2023 20:33:39 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: Sun, 18 Jun 2023 20:33:39 +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: mohd.akram@outlook.com 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 #2 from Mohamed Akram --- (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.=