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 28678 invoked from network); 11 Apr 2021 19:34:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Apr 2021 19:34:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618169641; b=oma3BJ3P/BX/c5TH5a005IggwNRAFThRpFcquhNgl1ZA5CODULsbCg8viJQZWBKNGB265UzB6C Zut+pH2jG+iYa+rUdZLmdLk65ttzw0YV2yGqnAmGQ7dT4Gozz/Bi4rC4jKce0EHZ0W4fTsF9Gr c8w+cl00YXMGEosCOgKoO5KB26eoy0uXgo5z+gtAe5CjFlGbwJ7reic0OfDC5axBwDzae4B4Ww PreXHcqL/2uLAUgpMvkFrPUg9Tkj6gkybyiHfCbAYHIlowVHdsdKf7joGa6FyVPZKpUbeyV9y1 IlIRRWKjSJAr3ak/k0bA3RCR99Pih8sSpvyhE34lAasWtA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (relay3-d.mail.gandi.net) smtp.remote-ip=217.70.183.195; dmarc=none header.from=chazelas.org; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618169641; bh=HgUNKzXeEbRTW63oJ5v2J5FsQzJ1VpP1wyu4W8Y9LOo=; 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:To:From:Date:DKIM-Signature; b=uWF0X1rA/6wY8S03EGDh8RBKRiPGQPWnOPdMlxxdNoqPJyCHG5MeQVQ2C9mcRQcG+l+2x9QiNn 9cCxmzXCjN0+6ShxlYyEycuq8WfBhULR2rIgUuIydHqol7TPThuqPyfdzdPvSdGXYG8GqvGISB mtriMH7+00FK0BLo+Mg46C5fcR0WVbtTRnhS0xEsyI2JOSG6b0HaIJf82mMqR3ND/0DTdDqvz/ hC9dHJXx3rSIUB3xq51vzwsLqJ/5mLWPDrjHtd2Th4B6In7LSkXRzimgXpa/HSFCz9ic/JQlG7 +B9Z8DQmf9kbHgVa3qfGdZA0MptPhC60RYf1b2CVY34iSQ==; 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:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=O/eEaBRjpKWkIbVLYdvtfL4lC8hN+OsX8qtXh/ojbA0=; b=NRm+jUCqbZac9ltSXd6Rlb6IsJ 5KDRQoiyoU8queUIUPZqrgUpYH0CxSeYNqNEuFYR2IC1r7ehJPk02SQKSHWjoh5cz1v4bMQIkv3TT 6INMC+CQR7D+4cE8KX8O3aRHGF5ajM9SnpdLkNcsKb+9+aayM6AbxKgfuMh/m2duLLIkPEpMx465Q L6lKG7JkLMqbZKbDVTMluoJ5zTKjR5/QekgLyF0AfCgIpnTum/mUnUW/8Vn306vGoiSxgvJJYM9AC O5kFUsV0Lg5jNyfy7uuTChHOB7lZaRKrHS7UGJscx6u6I96bCFfxqpwsSyqO73ikTePP5jRIZcISR iF1dT7ZQ==; Received: from authenticated user by zero.zsh.org with local id 1lVfqK-0003S9-Cg; Sun, 11 Apr 2021 19:34:00 +0000 Authentication-Results: zsh.org; iprev=pass (relay3-d.mail.gandi.net) smtp.remote-ip=217.70.183.195; dmarc=none header.from=chazelas.org; arc=none Received: from relay3-d.mail.gandi.net ([217.70.183.195]:42281) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1lVfq8-0003C9-MF; Sun, 11 Apr 2021 19:33:48 +0000 X-Originating-IP: 90.215.204.106 Received: from chazelas.org (unknown [90.215.204.106]) (Authenticated sender: stephane@chazelas.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 4E83060004 for ; Sun, 11 Apr 2021 19:33:48 +0000 (UTC) Date: Sun, 11 Apr 2021 20:33:47 +0100 From: Stephane Chazelas To: Zsh hackers list Subject: Re: sh emulation POSIX non-conformances (some of zsh's special variables) Message-ID: <20210411193347.bleagln2lypd6ceu@chazelas.org> Mail-Followup-To: Zsh hackers list References: <7FD930F4-37CD-402B-9A06-893818856199@dana.is> <20210411175726.hxnm33mxoska2tsm@chazelas.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210411175726.hxnm33mxoska2tsm@chazelas.org> X-Seq: 48502 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: 2021-04-11 18:57:26 +0100, Stephane Chazelas: > Some non-POSIX conformances I can think of ATM: [...] $ zsh --emulate sh -c 'EUID=10; echo "$EUID"' zsh:1: failed to change effective user ID: operation not permitted But then again, many shells have similar problems with their own special variables. -- Stephane