From nobody Wed Jan 15 21:48:56 2025 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 4YYKQ11Wkcz5kjHr for ; Wed, 15 Jan 2025 21:48:57 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YYKQ10ndVz3kHX for ; Wed, 15 Jan 2025 21:48:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736977737; 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=9dUdyNhRPRDTpf29cszj+YlhnCPnomxBs1EFB9r7g30=; b=DyjYsr7OQ/AvIwgthsEjBDfz8pycbtVf9o8klVfWX1dfBZ35BtsnDvPHaH/qHhKddzN2MO ZPO0kpk6t7Dy5vsM0SLuy/ZlAA6dx64+WqVxugiScRUW7kpi5vTgq4X+uMrF6iiX9iAmm1 TYZdNtvNmWtJO+5dWiQgflZ8uHQEFKodD1AL2vJF+bdAVFIk9Qfe5911zUhmImdNuxbj2x s75AP4hmyn1vir8MFWkcVp8FWPjXC3PU/PZPLyueggOqqmPIOdTlp1cfLKKT7HM0OSznS3 GiD4+FuOYsoINZmvf8PDPbAfqS1c/DZCuaVccT1IOacTXHRotKw9gb/xfVS92Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736977737; 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=9dUdyNhRPRDTpf29cszj+YlhnCPnomxBs1EFB9r7g30=; b=q2Ssfr3YZmUY47+vsyjNaf6MtEqxzMiIylTMPg7YQ9PO1rWQWk8771mSBD4AbhZOXCIgm0 koxQlK0cit+esVj9XGH/HZ6I7t7l+ujeaCSyk351td8Q40ChNobEW7LQxqSKDjevC0VUET RS7r7JRdIdU7TirH8wRQ61H1l4EK3maIq6uXq4gT1HhFIoBIsGKDweFzBd6VYt0G73WNUb o1MPCPC5gH0obo8BfoucGSCKwlIDxdDuUtrHd78JksFZ6C50XyuuhmS/gj6nQT8KgD9JyF R4PZG88qR06q3X+rbIeABrs73vFaYBc6RjG8q6jxpGwPqUuP8nHYFG/yBT962Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736977737; a=rsa-sha256; cv=none; b=Z84VAyNU/mCAHFD1lKwaqQGgP7W8CrBJQsV0gvL0DzBSro+87f9pJefPngcLlN0kCcbV2R J984aMpR4U0g335lfOQ1vet2EFg17IQsob3N1a6ZVrR8HUV6yIk4uqq6r0cRz6auS3li4G V5yu6z/cg0NYQj1XYmYh5VXCRkelkIxUMljebvne9e1q1046J05yNZB4JqXEHnPB8/5ZA5 rOW7b1g7/08HpbYJy4iDFW/dpScv096WiPiTczDA0HWEW6OZ9v/lswkfe3B2N9u/CLQ7YC EfMpYxXXceEoG5WjIu+2i5QItKopCfy/yOqYByEWUYvMNfXVPYVYJTqCOku5uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YYKQ109ccz13vj for ; Wed, 15 Jan 2025 21:48:57 +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 50FLmulW073811 for ; Wed, 15 Jan 2025 21:48:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50FLmurq073810 for bugs@FreeBSD.org; Wed, 15 Jan 2025 21:48:56 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 253893] sed "/^\s*$/d" complains about trailing backslash (\) Date: Wed, 15 Jan 2025 21:48:56 +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.0-STABLE X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: erichanskrs@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D253893 Eric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erichanskrs@gmail.com --- Comment #26 from Eric --- (in reply to comment #2) (in reply to comment #11) The incorrect/inconsistant handling of \s versus [:space:] also affects grep(1): [0](0) # uname -a FreeBSD q210 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c= 7412 GENERIC amd64 [1](0) # grep --version grep (BSD grep, GNU compatible) 2.6.0-FreeBSD [2](0) # echo 'a b' | grep '[a\s]b' [3](1) # echo 'a b' | grep '[a[:space:]]b' a b If deemed appropriate, I'll gladly open a new PR for this. --=20 You are receiving this mail because: You are the assignee for the bug.=