From nobody Wed May 22 22:25:44 2024 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 4Vl5VJ22Bdz5L8Nc for ; Wed, 22 May 2024 22:25:44 +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 4Vl5VJ0zJKz4Tdx for ; Wed, 22 May 2024 22:25:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716416744; a=rsa-sha256; cv=none; b=el4jfiFT8NvAyGfZN1m/q+7iT3w1MtOsO/WM1kSfhOPMJyzyoKoyzi0Uej/ojl1Yg44rnQ KHsAMgjwQtqgksm4bOxSPkqIJtCAf1gXNPWDBhTbz8UGoK64vAjf9Utjf6IVRIPSw5rtVd k6Hg1/zpah8fJxs+xpEnRv3tBqhqHjM/p1BBOdIp8rKeL2TYZnLiERxeGrIOupVBdAGpEz 48FrTlIH1savPi+9ZaSBl78Zd/ypbZhmjqwDUjtmnGYeqBPs6OZmUU6NW7VRHbW0rG9Znu 68NaFVb+9ZnzTZjwJYzJ6Wqb/wTWgvpBrXmz3Nb4gOzjEr2zThmzOnMVAbAu+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716416744; 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=XTjSYLW3ri+yxAr6ycbepDHE4wN6a8kySGMFyCs4gMg=; b=r9ZDv6RCgmo7DqOZytNv3A2NtQmz49HCmh0RY/7wkRyipb6ReRObSVrMhMQyqs3KGRaEcC Y8mBDKeeUbIJLNkPn7e5fZj/EQfzTaL5/KkRSFqSKblvy2siF/4r5xaKC5TMNC6f8anfUU EDGILdyYGl2rIyC1wuz4lIqFS8S5mOwYZRnnz7Pb8QgHU+bWZY1Yi2Sk2bKmTvg2ev1sIl Fb13EQecDYz31mbPgTBWwhLp8+0Ya6TOEkdpy7aqVbJDmmrhW7cc0YNpacZhCXZMRPBl6r SfxcVxZUbV8vUcxvPoNTj2b6Z6r2J5bvSYssLjCYME2f1+AtOSPPAq2uPBx7SA== 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 4Vl5VJ0T20zP8K for ; Wed, 22 May 2024 22:25:44 +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 44MMPhXD087461 for ; Wed, 22 May 2024 22:25:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44MMPhkX087458 for bugs@FreeBSD.org; Wed, 22 May 2024 22:25:43 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 279223] sed - "a\" command displays different results depending on use of -e option (closing new line) Date: Wed, 22 May 2024 22:25:44 +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.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ericvermetten@online.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279223 Eric Vermetten changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ericvermetten@online.nl --- Comment #2 from Eric Vermetten --- In addition to previous comment: sed '/1/a\ -new line- ' behaviour, is mentioned in: sed & awk, 2nd edition; Arnold Robbin, Dale Dougherty at the "Command Summary for sed": " a [address]a\ text Append text following each line matched by address. If text goes over more than one line, newlines must be "hidden" by preceding them with a backslash. The text will be terminated by the first newline that is not hid= den in this way. The text is not available in the pattern space and subsequent commands cannot be applied to it. The results of this command are sent to standard output when the list of editing commands is finished, regardless of what happens to the current line in the pattern space. " --=20 You are receiving this mail because: You are the assignee for the bug.=