From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13873 invoked from network); 10 Apr 2021 23:59:30 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2021 23:59:30 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618099170; b=Y6Pie7IrYQIterCLeYyDFx+99wT+Mj26U1rknMonykmZFdMFq/Itdf6Fq+4X/nqpyrLnGXdMOj VJkeqoysinUAA6Vidd7omM2ew/2fihKzf/30qSFgnbNRGvw4RSbsXJykBJFLDao6tQlIxE3Img 2UwO1VLcXKtizJMSDWYFWYeNvBARy/8eDXPrbzOC9hj3N1Q5z8ytkTdWK6FZVY6zpMnMIGhIL/ HXvjJkiFUKowGR7cayPF/Q/8+DtQZOq8ArhUDD8N8V4lTzPeHb/9YfKlrapNv88n8QOUSrkiga /mEEyjB1CUEBZy8/vWxOGX3G2gXnt3XMi5M9kopdklJJeA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (injection.crustytoothpaste.net) smtp.remote-ip=192.241.140.119; dkim=pass header.d=crustytoothpaste.net header.s=default header.a=rsa-sha256; dmarc=none header.from=crustytoothpaste.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618099170; bh=yCwtCXZh0CVNjeaD+u/HiXkQ8hmxtVpoXhwq4PXy9II=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature:DKIM-Signature; b=0dd+DRDAJnnWJlkUyQXg7lCvzGWtsrpkjfmHUiyOLrMwnVwct7Wk4TafZ9P6Wv0dIFO66eiphi 8CvkjOJ1CQ5yEbxSz62N2nS53Ni8wh80cY+phwm2wk4Ef/P+ue55zvGDqRr5w48PkblikQgbWa WgacEAtHScwpIknBWdDemk2rejCXDPwq491b3+ujRXPDxpWIbN1LHt1uRPzz+CtEvPDnSQat+3 mJJVP82sL9ZpoYLFTtR5SPxkMUswTvcEdIoT1JoPgXEvOgGw1SbtL4Q1T327I6MuJJEprRnmpc YAM2pQMh9/9TL4B4ql1YbDilqrVa5qFMRzjG8oLYtzSDMw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=yCwtCXZh0CVNjeaD+u/HiXkQ8hmxtVpoXhwq4PXy9II=; b=xA0YGFvLtNESOn2lsHFOtDIt62 F2+nDVueF5SlLRHGYKgJeqCvN5QWky891wLJFCxfTRsk8mfJcO6VUKXi8rjBkwpkf21F0Gq2MrjaC VQBqUS04CchLU2qY27fUCwVz4W3rVvsw2FsfPFZ1y2NRNcNEGB+z/c3a9VMe9Mf2X/2po9i/lU6kZ GVUOdVojgfF7OH5bA3SdVp/GHQEFMpouSfgqpZ6ChYMHhebs+BAwOXYMiLCDwvlcQH3CxNT3xcqfC 3mxZXAohE57G55o9B6ZSY5Oby/K1N6Ykv0cndEBcsfVKTcZ/1arMqjPOHr/Yl2gG6Zxq8Mn8e1KVa zWows0pQ==; Received: from authenticated user by zero.zsh.org with local id 1lVNVg-000KnB-75; Sat, 10 Apr 2021 23:59:28 +0000 Authentication-Results: zsh.org; iprev=pass (injection.crustytoothpaste.net) smtp.remote-ip=192.241.140.119; dkim=pass header.d=crustytoothpaste.net header.s=default header.a=rsa-sha256; dmarc=none header.from=crustytoothpaste.net; arc=none Received: from injection.crustytoothpaste.net ([192.241.140.119]:60898) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-CHACHA20-POLY1305:256) id 1lVNVR-000KXn-9D; Sat, 10 Apr 2021 23:59:14 +0000 Received: from camp.crustytoothpaste.net (unknown [IPv6:2001:470:b978:101:b610:a2f0:36c1:12e3]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by injection.crustytoothpaste.net (Postfix) with ESMTPSA id 08AAA6078A; Sat, 10 Apr 2021 23:59:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crustytoothpaste.net; s=default; t=1618099152; bh=yCwtCXZh0CVNjeaD+u/HiXkQ8hmxtVpoXhwq4PXy9II=; h=Date:From:To:Cc:Subject:References:Content-Type: Content-Disposition:In-Reply-To:From:Reply-To:Subject:Date:To:CC: Resent-Date:Resent-From:Resent-To:Resent-Cc:In-Reply-To:References: Content-Type:Content-Disposition; b=X8/Kb/jPxCkWdDHee3xgEP16PhltB7D87H5H4IWXxKMCaI1asTb1S/7wZhbIBpXFH o9UFe5qH44ltfzanZK682gRjxdWJNdYXV/f7V0GZZU4V4HA0UOq65Z9TUfAvtr3tg5 pGW6ZkT+JcWGe1u6xipLyQwmgr4xrN2Ssyls6+jQTpXiNrzWlfwSnyPYqQi+vDomxq dIUmQwaCQDq/txjBSnlcGT3ufZ1VifA4ErVvYa6JwyUAJv7Ficvk01Gbbh1lahN7zt tqjxsQJO7fPVkyrs/V23tIXh69DAsNDxnLPNobjBG2XWzfo820eNwZwKiNeci0c5ok XrdvJ9t2Wr8foasuMw7qAL6PBGyF6nFIAugXBn/uj8BQSnfV4zoT3xlD/OyG0yHLFB QJKHummJMLxQF8mLpn/DKe8u9a+zE+VujHbNPeqW/sc9D1474EnT54G4txWoTRZ45y dQWZAJIj+LobNaZGMJjkwrrMxwppVycuXe1pyTHIJty4BFlIfad Date: Sat, 10 Apr 2021 23:59:05 +0000 From: "brian m. carlson" To: dana Cc: zsh-workers@zsh.org Subject: Re: [PATCH v3 1/1] exec: run final pipeline command in a subshell in sh mode Message-ID: References: <20210104002213.2703305-1-sandals@crustytoothpaste.net> <20210104002213.2703305-2-sandals@crustytoothpaste.net> <4127B686-0CF1-4F6C-B2E7-DD3428CAAB5F@dana.is> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="QKCFSb2SFAiOnF35" Content-Disposition: inline In-Reply-To: <4127B686-0CF1-4F6C-B2E7-DD3428CAAB5F@dana.is> User-Agent: Mutt/2.0.5 (2021-01-21) X-Seq: 48493 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: --QKCFSb2SFAiOnF35 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-04-10 at 23:02:39, dana wrote: > On 3 Jan 2021, at 18:22, brian m. carlson = wrote: > > Since zsh may be used as /bin/sh in some cases (such as macOS Catalina), > > it makes sense to have the common sh behavior when emulating sh >=20 > This seems inoffensive to me. Since nobody objected to the code itself in= the > previous discussions i've committed it. Great, thanks. > I did want to mention that macOS does *not* use zsh as /bin/sh. That cont= inues > to be provided by bash 3.2; only the default interactive shell was change= d to > zsh. I don't think i know of any system that uses zsh for /bin/sh That's definitely true by default, but I believe users can also choose to set dash or zsh as /bin/sh by changing /var/select/sh, as of Catalina. --=20 brian m. carlson (he/him or they/them) Houston, Texas, US --QKCFSb2SFAiOnF35 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.2.27 (GNU/Linux) iHUEABYKAB0WIQQILOaKnbxl+4PRw5F8DEliiIeigQUCYHI7yAAKCRB8DEliiIei gVXsAQCCYeWU5fWHNJgs+un1d25RIO1grQ4Db7DGwL6XrnnwGgEAwF/RXV8cf7hK wqEfqyExpU+a2hHN0fKj3ofGk+2b7g4= =+p2J -----END PGP SIGNATURE----- --QKCFSb2SFAiOnF35--