From nobody Fri Sep 22 19:28:42 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 4Rsj4B5f5xz4vJKb for ; Fri, 22 Sep 2023 19:28:42 +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 4Rsj4B3czjz3DLd for ; Fri, 22 Sep 2023 19:28:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695410922; a=rsa-sha256; cv=none; b=mEna8Qsgv13YWdylG6JbaOTGEG5CVc7pTKjBy6VPzlf/tIZ3PDqMhD2AuSpyimlNmeWndC suqpKZ/NAaJGwhmMjDfDxrihYpKzaNKLy9zwHPp21tEsib+pk9d1ia+E2Rw6B8TOcQYAJD quI8lt2AA3Ioh05/noPBLE7YLVmG0MaffAweJTESImn0ynXdEz9Ic7AwFCfUnuYKzkHSTQ aHtWVYAALWH4IhngMrxzym/QTDr+yrNSfl3b8fwfTQtr/zq/jz0DofWuBqdNuV0E9pgEAO HNZCEHdM/oEiyO52lHoTpnEeubz6xXUjaimLs7i3Savsl2S/4FrW05GUY7PWxA== 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=1695410922; 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; bh=kyNt+Zkryvj/f7IGaZhzXBH/qMbC8Z9i0LtmJ2qYETE=; b=S05PxWiUgQODEHGjElvtiGCd02jzUyZthbVBFVOh/sNaX4FPYS4rMpL2keyV2seY+WP2f8 YfS/wdHvHYG/80bRgDrHUoWseo28GNLl2A/+qOc6vBNXSvpfaqNptpknthjjC1MBrgqLGF M6TDoGl3MwScI69CNTQLYnYyMw2ar0x2lUmI6hR/PqMl6D8x8yirpddfxmnIDm/ctlA7Rq PkCOuufB1F9I1rxxwd3hHOq4Aaak3e8vIgERJLvmanBIh3iAgx8S8J4ED+05cI+KqdDCn8 Ke73shvCxTEIIQjonH66P3xc9pp19kp3Cp2J15GHcl5t7Ef6zLxgvipptTa28g== 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 4Rsj4B2ZFWzYrF for ; Fri, 22 Sep 2023 19:28:42 +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 38MJSgiw046460 for ; Fri, 22 Sep 2023 19:28:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38MJSgNw046459 for bugs@FreeBSD.org; Fri, 22 Sep 2023 19:28:42 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 274032] Regression after stable/12: grep: trailing backslash (\) Date: Fri, 22 Sep 2023 19:28:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc Message-ID: 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=3D274032 Bug ID: 274032 Summary: Regression after stable/12: grep: trailing backslash (\) Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Keywords: regression Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: eugen@freebsd.org CC: kevans@freebsd.org $ sh -E $ unset LC_ALL $ LANG=3Dde_DE.ISO8859-1 grep $(builtin printf '\374') /dev/null grep: trailing backslash (\) $ LANG=3Dru_RU.KOI8-R grep $(builtin printf '\301') /dev/null grep: trailing backslash (\) \374 is "u" with an umlaut in 8-bit ISO8859-1 locale; \301 is cyrillic "a" in 8-bit KOI8-R locale. The problem does not manifest with 12.4 and earlier releases that have GNU grep. The error occurs not in bsdgrep code (used as grep in 13+) but comes from l= ibc: lib/libc/regex/regerror.c --=20 You are receiving this mail because: You are the assignee for the bug.=