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.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 7310 invoked from network); 10 Apr 2021 23:03:16 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2021 23:03:16 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618095796; b=nsKAwMWZJuOsc5wk2FnHDwuKkiNMcAKNibHnyGkBxhdQ6TU4n4ipOfE6FmqUKJw1rj8w0FfWH1 SbZNb+Jis1LiG1KFPBTzOr1geZ0ed/4u329zQgVMS+ES4K4FyviCBIa1c3Xprsu0HwBpVxDSIm pyAKQhPolgZXs08o1mqsLuMM98JKdWmJPCVQRHvgdH114fN9fR5S/kBhUFtvz2tV1NUjkk5J10 OjV+Wt8wK5dqUge0gw1OCgqMHZ8bqaapr+OF5lzx9axVfYkpyiGvHIiN4Yb+CXDLxdWyzJc4aR WNOouxtR6BxcjVW6blHQCEk/vib/KyBaVFClZpPqOETj6g==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-qk1-f170.google.com) smtp.remote-ip=209.85.222.170; dkim=pass header.d=dana-is.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=dana.is; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618095796; bh=LtbkANV5in5vXRKkeHQzVjZ0xjLHlqMJeTJ2Vbi9evI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:References:Message-ID:Content-Transfer-Encoding:Cc:Date: In-Reply-To:From:Subject:MIME-Version:Content-Type:DKIM-Signature: DKIM-Signature; b=XSnIil+xVLKtB6mW9sGb8NFauMYhxTFtLmZIbhCgOXbVYQcuxd27fIsOcRPn/5/CkvjlLkSuZA MyqysPPPVq7HyOwmmEhVTQoLXwfNpmKj6vcTjsvIaAJPpFqDb4Ax6n78WPMd/qbwwtUnx9upTk vsW4hyAojiBSIIobFvLoX76j56UkyOJuS9PfNBZQ+wtFJx+hotvLLtYrEknEzLBH6+3CjQe1PN PZFpzbjhnY2oIXv/1jngYDInZma0I0TBwK+2IteBz5OGnmde5xWjgRFno/znMd6JAXKEC6OC8+ IDlZ6Iyzb6M2w5ZY0t+EDJOU1QxCtI4xIhxEBCdnpzw+gQ==; 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:To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=LtbkANV5in5vXRKkeHQzVjZ0xjLHlqMJeTJ2Vbi9evI=; b=a34FSrDSCTIO3hkV9aOzEbPS7S fdDJyx6Rs6+n71NboEi0SWPR4aoo1WRMEzZbV5kdno6gHBctTGV9H6hGTY36hGSlT5W614WNb0KvV HY8qvDJUE4FUMkxWQaaEzm9CWdCIDTMaUsiVC5M+q307MlQno1BgKAw0eVCAv1/72f5QanxF07uln FngyPkhtHRHul/rLMODr9c8vTXWdUEl9nQBjgpC3MgWlPPUe1+jfB8dd8eF7eMqj1sZ+Vto3U2V8V o8gkiiM86yBMb6OqAxb/SQmD+RZvyre94vVKKKQH+jfNmNtSIAjSreh+ZQOO2968MTQN2ZDMkXCmU 5VKyn4ug==; Received: from authenticated user by zero.zsh.org with local id 1lVMdH-000IHn-U9; Sat, 10 Apr 2021 23:03:16 +0000 Authentication-Results: zsh.org; iprev=pass (mail-qk1-f170.google.com) smtp.remote-ip=209.85.222.170; dkim=pass header.d=dana-is.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=dana.is; arc=none Received: from mail-qk1-f170.google.com ([209.85.222.170]:42796) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lVMck-000I06-57; Sat, 10 Apr 2021 23:02:42 +0000 Received: by mail-qk1-f170.google.com with SMTP id y5so9598520qkl.9 for ; Sat, 10 Apr 2021 16:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LtbkANV5in5vXRKkeHQzVjZ0xjLHlqMJeTJ2Vbi9evI=; b=KW5/jFG0M/JKd+p7Bbsw2oR3oXEQW8sjrulniRG6BN1Hs3xQ7fbJ8AWAYKyasHPzwV rsJzHXxXpIKt/Qs+eyBkS17tjUnbznaUUNI0RnSVTDy4o+Ui4u4mxlb1gBJ8TIfOHveZ Rs13MSU1gs5CLkVBEEgvQ/Ibhweg54ETCuK33dbS2nfViSHXfFrSGsRc4zLkPwuUX5r4 kcZTbXLtXZnQfB2utM+MMbTeQrurbV7miMPgKtFyR3MUQwfHfcS+KXr5iE93mcXsYAqE S2vsfz21sxSUV93X6vdXUubQUK3Msu/OqxYer5hqiNq2o4DZjGXTE+6tCPeuT/gaxXcJ V+hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=LtbkANV5in5vXRKkeHQzVjZ0xjLHlqMJeTJ2Vbi9evI=; b=DyORfULQtfa1kqEyvRgo/QuFuYfJ42KdJQgSuKbhkBKmmVnDE+GI1u0f5df3fUxULP 4WhHX1PE5wW0KoK7Kr9WhYp8/vuOKITHvgeh+bQxXyOtFTKdDLfxjoQBSqguFUCDsrTa ax0rMRnAI9Nj40Anliyirbl+2Tv/yg90Lv/e/WIx79mHaaDfQYrsIEWRJa0L6m248AvX 2Nw/GZ6fON90ARgNd+FTtLjWCdJCq9JmoA8pKiOqsRBCqc3uZ4caoZ5qaLY0JFhJqgn0 hs9a78EUR2MQw+ntO2zZzsS2Wi57umt4X1zeRjUsgyRWhGjvaVWNfrFGtLwqPEHOeQJq WY/w== X-Gm-Message-State: AOAM533o3shZEb9sXBn85xOXUw7/2/Gi5YWGh93AqY0zWm66SAIA1Rhl CutIE0nuXOALD0vvDaa/aLsotA== X-Google-Smtp-Source: ABdhPJzfJsE9Dke4rzynl93gwOnGl7Bx1LkXy01/HTM219rhTYM470hQTxUc8A8488f1Cb2zLFHCHw== X-Received: by 2002:a05:620a:1369:: with SMTP id d9mr21066603qkl.378.1618095761044; Sat, 10 Apr 2021 16:02:41 -0700 (PDT) Received: from heartswap.lan.dana.is (173-17-84-59.client.mchsi.com. [173.17.84.59]) by smtp.gmail.com with ESMTPSA id l4sm5084460qtn.89.2021.04.10.16.02.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Apr 2021 16:02:40 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: [PATCH v3 1/1] exec: run final pipeline command in a subshell in sh mode From: dana In-Reply-To: <20210104002213.2703305-2-sandals@crustytoothpaste.net> Date: Sat, 10 Apr 2021 18:02:39 -0500 Cc: zsh-workers@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <4127B686-0CF1-4F6C-B2E7-DD3428CAAB5F@dana.is> References: <20210104002213.2703305-1-sandals@crustytoothpaste.net> <20210104002213.2703305-2-sandals@crustytoothpaste.net> To: "brian m. carlson" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Seq: 48490 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: 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 This seems inoffensive to me. Since nobody objected to the code itself = in the previous discussions i've committed it. I did want to mention that macOS does *not* use zsh as /bin/sh. That = continues to be provided by bash 3.2; only the default interactive shell was = changed to zsh. I don't think i know of any system that uses zsh for /bin/sh dana