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 28423 invoked from network); 11 Apr 2021 19:32:09 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 11 Apr 2021 19:32:09 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618169529; b=PAesS7GpHNa0xqYAnyrnEe0U9g7jxgbPhvc6vHCuENHeRrekl7dM2UAfxm7q0FmFPpVf2zrdTh bI3W9KzAImOsE6IGOVo8T7ZvWjNFQJTtNyTofdGwKkhECkfgOKq5pVxT51rGyJ9nOoiFzMQ7mT MdltN4TWjL6ndMc74bQnCB0QOciJaNoPVSMsGTdZoyT5hCFq4qwGCBAUgpQmCA+Z/MRkKNIiYR XcjyiJhSeYc1hsBM6qV5/pydFAPd3oid2vkan8QuyfYxU1aSRFQt3BqOJDiLmr8mKRALY73EX4 XYSfk1YDb1mbT1v+mx+5j1L/THazeBumVuLtWz0nIDah/A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (relay5-d.mail.gandi.net) smtp.remote-ip=217.70.183.197; 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=1618169529; bh=1wCTcD8doZup8CGjrUNf2SOarlKWoU/sG9DPFjc46Vs=; 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=unqej1Xkv/CAM/ml5WCei8RDZwRMri2N94J7oC72Eq+zoLKjy3L45fPs0YhmPvFWfyrRv9bTAG +VvsDpBTzUpJ/GtZ5RdkBEbCGvfVziyBVEfakMYMhYqr/JN+ySCejQRkk39YR1O9Ef0VNLRwU1 0d4Y+0JGYB7ThE/rnyrx960crMPFNEN6jTfZiIToHF9QjVLCXOkEDKed1gJfOOoPw0bef/PryF tD3QAu8tUKsywScCQbg9fBCh9IE02fr6VA4yctlT3GmCYUmgok6NsOg570WHXSfUl9w5bYMYei tP8hjr+96gnxH5G6oSV83gPcxcaf3qrXTp/cgfRrDcJ29A==; 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=1wCTcD8doZup8CGjrUNf2SOarlKWoU/sG9DPFjc46Vs=; b=rQYtzRLmZsut+BQWS6tvmyisVT UpNJ2wNL7j6vFwRJ0J7hVMHTHlhHWAD5b4fal0NLIdCtpsuApZBkuYParL9lRFLSZRiwUst5JPS1R V5bXLAGWGLY2ggXww/wyjr8Ys+WOtXJKro5/ejwdENkBR7x2NlZwD1T5q6M+sn7U5R+cWcxyUMdIP IrYIwWOAp+ZomJlIRW9x82EttAiHQevn97vOk2nXLwR10v/pl8pshQ/v6oKOVAbT7xjSjgR92iELu SDaGEcaZTpuNd7LaDNInTVFAi/nuKmTUFxufrcOoPek941fwp2sRFPG6cKVc00/MghGyAeUtlZURp TJ/LNihg==; Received: from authenticated user by zero.zsh.org with local id 1lVfoV-0002xK-1N; Sun, 11 Apr 2021 19:32:07 +0000 Authentication-Results: zsh.org; iprev=pass (relay5-d.mail.gandi.net) smtp.remote-ip=217.70.183.197; dmarc=none header.from=chazelas.org; arc=none Received: from relay5-d.mail.gandi.net ([217.70.183.197]:46087) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1lVfoJ-0002ij-C1; Sun, 11 Apr 2021 19:31:55 +0000 X-Originating-IP: 90.215.204.106 Received: from chazelas.org (unknown [90.215.204.106]) (Authenticated sender: stephane@chazelas.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id D60101C0002 for ; Sun, 11 Apr 2021 19:31:54 +0000 (UTC) Date: Sun, 11 Apr 2021 20:31:54 +0100 From: Stephane Chazelas To: Zsh hackers list Subject: Re: sh emulation POSIX non-conformances ("inf"/"Inf" in arithmetic expressions) Message-ID: <20210411193154.zkekzvb4o6xmriwo@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: 48501 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: [...] Also: $ zsh --emulate sh -c 'inf=42; echo $((inf))' Inf (POSIX requires 42 there).