From nobody Tue Apr 30 21:03:26 2024 X-Original-To: standards@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 4VTXjW2tyGz5JwPj for ; Tue, 30 Apr 2024 21:03:27 +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 4VTXjW1qXrz4SsT for ; Tue, 30 Apr 2024 21:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714511007; a=rsa-sha256; cv=none; b=puxQFKB9ULUi6RYQL+PEhyGUFYmoXFIuzI7OLb6np4xuzZMadZtULNGnUfEPis1fGTFPs3 J7xMGjXUeYxf3mlXNLHkwafEjyNb7bFYpPIewGhkRJYRTT+Swv7LkVuiLRQ8LFuwgr/B8+ ac+6TrOEsnzwuOq4D+v6ncRcxpFx0EBFBPN+GU7D+7bLTHcDUWYaexQUgmWDq1IGROvx/s 0ZcNGXD6FhaUpab/0Ony9A+c0VKSvndYkFvOLnjK8kGF9zi+RKm0UNMQMXGR58ilaHkI6X ry5m5WFSFLbXwyenF3nYwN7MlPowxM5rzo/UQTN6mVTMsgiytCtHI0mZacHcPg== 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=1714511007; 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=JD4hqiyZ3WiC2ZT+f2PqOfJ/1OSr4aZvUpZkMx4kKi8=; b=RXe1QpYIi9adcbQOtl1ahVXWkja7fkAIRWXl1NhoSq+v6yqWlMVK59RVjO7YT3II5iWqWc w0IwFzUezot8HzMSp7TOt3VBpwfXpIfcrhGxwbHZ222kGyhV1AkIicK4BCfMdGxzb3VmDM K/nufp3AUCbQBNh57c9zWxLDNjzonEEyzVRxhZj/ZJSjrrQf4mW6EteRzNDDHQ1dXEkUGs SP55TWDUsRMLMcJk5rwLF2q/HIPV3XAhptg4PwWpJrCgwifWrUZL0Uppft1lqo0d3RgDEn k5oB9r8dqLEYmWCwKqcAPHWSO/PlbYZq3AI+xz/WosFVQRwfTcTE6lZu2otZbw== 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 4VTXjW1RCqzrN8 for ; Tue, 30 Apr 2024 21:03:27 +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 43UL3R9Q021176 for ; Tue, 30 Apr 2024 21:03:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43UL3RIl021163 for standards@FreeBSD.org; Tue, 30 Apr 2024 21:03:27 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: standards@FreeBSD.org Subject: [Bug 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 21:03:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: naddy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 --- Comment #8 from Christian Weisgerber --- (In reply to Benjamin Takacs from comment #6) That takes me to my starting point, which was a discussion about shell scripting where somebody was bending over backwards to use POSIX-ly correct code that handled all corner cases, so he used "sh -c --" and was quite astonished when I pointed out that this breaks on FreeBSD. Obviously system(3) and popen(3) will need to be fixed accordingly. --=20 You are receiving this mail because: You are the assignee for the bug.=