From nobody Sat Apr 23 00:41:40 2022 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 CBE5B1993031 for ; Sat, 23 Apr 2022 00:41:40 +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 4KlXXN3np4z3RHZ for ; Sat, 23 Apr 2022 00:41:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 62673278A2 for ; Sat, 23 Apr 2022 00:41:40 +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 23N0feqc040713 for ; Sat, 23 Apr 2022 00:41:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23N0feg0040712 for bugs@FreeBSD.org; Sat, 23 Apr 2022 00:41:40 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 263478] awk: syntax error in regular expression $^ Date: Sat, 23 Apr 2022 00:41:40 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kevin@kevinlocke.name 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 bug_severity priority component assigned_to reporter 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650674500; 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=7Yq1wMLQtgzneKVIk+1HCAAf9dKxP9XKAZvfvwLRuJ8=; b=qsuXLt/TyeyJGomD/a+BBBWjyEInechrhWNv3+YrUWxahKGhyxGx+7JpZYieStJhQE0cR2 9NE8K1ft11dwTK/xo7edWm7d+JHwLR5MqPKzy4L+w0r+IAAi8AcvpSC48ER6ywfKJHsyP7 u4czlvDhwEteoM6dmVMt7iVzAd1wRvqd2/ySbMzRHwlsvHpfqA2l6iI7EZa2KIt535PWFx S0GUGhlShyRmVpk3tfhOLQj7HfZxfg3U4uT59QDjJfPYBcEbsOVcDzhgzPPPccSEvCcZWP n79g7exXplRECEjbodYfK29CIXWsDqzAv/UN9yINekugqd+Q2F/qCreE7W2wZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650674500; a=rsa-sha256; cv=none; b=f7dG9gbs3EnUbXFLWjacZFxGQBcWHt8Nzs/9GnB9fY5fa0wNNiDshifWMe3kzQ+Qni/Tjg HQkGe6stjVAPGAvBy/N600pWdmmBce5GWo772n9gwGfh1kDB+zYLds0162IFhS7e4PVl1q kxY9oBRUqZlESG9bh5eigsnpg4CizmjU99NzwPzKU47gtUM1lVTzsZHbH2Y9mBAgcHuPiS NBK64xu5K1yCXAcmdUR6LjRx1e2W+s752fLbBZZOOfJASJCmcLP11J/JzPv0bIuaFbjM7a Rem8dOVALJ0XOopt9wuAi/qD5tuYY21a9UpIjboGaXNyvXQtkAY/tGk65enQuA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263478 Bug ID: 263478 Summary: awk: syntax error in regular expression $^ Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: kevin@kevinlocke.name Using the regular expression $^ as a pattern, for example by running `awk /$^/`, causes the following error: awk: syntax error in regular expression $^ at=20 source line number 1 context is >>> /$^/ <<<=20 As far as I can tell, $^ is a valid Extended Regular Expression,[^1] as expected by awk,[^2] although it is a bit unusual. I encountered the bug in the ident[^3] script used by jscal-save of the Lin= ux Console Project and am not aware of any uses likely to affect FreeBSD users= .=20 Feel free to take it for what you will. [^1]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html#ta= g_09_04 [^2]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html#tag_20_= 06_13_04 [^3]: https://sourceforge.net/p/linuxconsole/code/ci/08ddbccfe470b346a8fc903386de= a916be3a4e9f/tree/utils/ident --=20 You are receiving this mail because: You are the assignee for the bug.=