From nobody Fri Apr 01 17:22: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 912C01A4B9DC for ; Fri, 1 Apr 2022 17:22: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 4KVRnX1wCtz4mKn for ; Fri, 1 Apr 2022 17:22: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 231BE1894A for ; Fri, 1 Apr 2022 17:22: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 231HMelx015863 for ; Fri, 1 Apr 2022 17:22:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 231HMeRv015862 for bugs@FreeBSD.org; Fri, 1 Apr 2022 17:22: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 262988] sh: set builtin oddity Date: Fri, 01 Apr 2022 17:22: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@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 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=1648833760; 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=FxJMTuZxHYKU3//pj/GGgRMA7oDA8e4mNWcFTLtx9wc=; b=B+msdIariFdgFqsDsvUncuAyTgDlpRHAFqusMeRBj/gF+DRxXcRKJW/yn9XOwHmO34UFZ4 ePZ+7s3+TVJK1oTRFnOqF+wSOEuJDWPx74oZ6b4j1HjAo9Q8Pu213v8OMUHOPHopnYWUqb ahr5L99Re2ZOmR+c6I2m8MFqOtv3KsGCVpd+mv1HAHwyRkjtWLqMDp4n9hi/pqnHXMj7Gz e+VQTdFeNAhJXVM+wp+fSNa1GePZQtD6pPoUyhvRQ19ivu+eLjr5RsnvQNP6ps+/8VdpT0 5MY2CyP4sl6iq7tAo6ucV90/am79NnQChZDDssV4grnNTJsYX2HjZIG2EVSaMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648833760; a=rsa-sha256; cv=none; b=TenlbZj3TOtouOFhsoHsfgFgh4eAawDtIs10wrRJvgpsGDwOdKoV+SX3/6RfP68PnbWwu4 YqESG4L+KGFLCJMf8B6/kwRHrQlW1wwjID21c4SMuabBVGCp0J5W9BQVdxNH5cfVhFNzyh dxRFzzZzSpRAZ1My7eMlcx9nbhtmzAYiEnTDRBL1+McND1UwCm7yaMpA8E//tgFFx+07iv Iqe7JzWPE4e00KuELJtshaMvfNY8oimr1LL6oyDnihQ0s6IlCk1sOvvKdS9p00vLTbTuZG PTiQvbcImLMcODxyn2Mv9pAaW1hcRbrewheGF4l6tPnuUIDWvmwwAd42XQtQiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262988 Bug ID: 262988 Summary: sh: set builtin oddity Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: emaste@freebsd.org It appears that `set` performs filename matching against a character class = even within single quotes. For example: $ touch a d $ set -- '[preloaded]' $ echo $1 a d Discovered while investigating changes for https://reviews.freebsd.org/D347= 34; Makefile.inc1 does "set -- $line" where line contains output from `ldd`. --=20 You are receiving this mail because: You are the assignee for the bug.=