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 19579 invoked from network); 26 Apr 2021 10:29:18 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Apr 2021 10:29:18 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1619432958; b=wsYpTzQnD62PrHOWUzD8z+nuUKxkvwZsO0egpp2dxGUFu1M1sVqq/vHEzh0RX8wxF5Vuo7Q5lQ zuuktdx9kL5pDdLI3zRSxPN/rILyjPn77zbfGPP4XHP2yNEofHdZQ36Mh4pcyDcv/Y90h7Ebpi HEWMO5Aty51/R/v0fTp/J9vOtfGtdSsZfEu/w8HUbHPSSmSGzQ/dvy/WcgJgVtojX7ohdL8PGC 2LbQPVmsPFKD5Q8bhzIRt/oTPNb3j6rqsnRVkH6Y/rbRWUDKO9o3RUgA1IWUVnwy4S4atMQdKP Pw6E9YAg1O/aGqP2rgiz+9XvoVxA7Re1P+UzGefalTi2YA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1619432958; bh=z6gdrwcwME/goIy3B0sa7hTNMKdBChKJf8EUgwrNE1I=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date:DKIM-Signature; b=KXJeZRzU7HCMLjCC9hJzKSvk7iaRQf3Z6G9vMAmOZ5WJBcMk+spDg0JGl0wk4KYPZp4/w+0Gs+ eCSaM4cpLws7vSGUGG9UzZbhrHoHyzoLwh344mueYnxLWu8bS3Aju3qTq+kSPm9SQKJcXR6R8u dExaBeSK6Keg2iPWj7+8fLVFaZ/IvOfrsN5TDDTWH+APqk2KJJ4HoBxN+bkkOgKd4qcn056yHz 100/o2Y8IrAjr6XTz6XbQVlmmPrikyJnrT3el6eCBpa5HVgaA0IXHM/9GpJgmQOBjQP/tALPeH BylOz5BoVH/3a2j1CrInfl4iCi9bTswGyeKQ7bAFORPABg==; 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-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=U0GrfwoprTLLkYiRefz5GMIsErCpealsSswH//TDEQI=; b=AIrJOSc+9Wc/6BASOgJF85q/Wr 0+Fd9GynLdHVDs02FPFhXWtmWzRSxEXro4Hb+z5IQuIyaIVIFiek8o4YqKspJsKnTAc8x9I/IOoaA ldYMZOOjJCKZuI1pF0VX17UsTmPv4Yl2DQtHOHICy1eiM4TLcjVN3KOS7R5PS1lqttETv/Q1OpHZF SL8A8ZWtPUH52AQv5XWlrMQ5h7mu8FxjSpv3H63wn5NUwinEIsxdSu4nGU2MIG/XVyk6GRRVvWOVG bik+7rzRJokFgGH5Z0H71qeKVYfxp5xkREL+wYNzn0fCtUA18U+r+4o7rnkyZX72iCt+qDzxaB6H2 YgEUreFA==; Received: from authenticated user by zero.zsh.org with local id 1layUK-000Ktb-NC; Mon, 26 Apr 2021 10:29:12 +0000 Authentication-Results: zsh.org; iprev=pass (joooj.vinc17.net) smtp.remote-ip=155.133.131.76; dmarc=none header.from=vinc17.net; arc=none Received: from joooj.vinc17.net ([155.133.131.76]:54274) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1layU3-000KfX-T5; Mon, 26 Apr 2021 10:28:56 +0000 Received: from smtp-zira.vinc17.net (lfbn-tou-1-1431-42.w90-89.abo.wanadoo.fr [90.89.233.42]) by joooj.vinc17.net (Postfix) with ESMTPSA id 2FB9482; Mon, 26 Apr 2021 12:28:55 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id EBFEEC24572; Mon, 26 Apr 2021 12:28:53 +0200 (CEST) Date: Mon, 26 Apr 2021 12:28:53 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: sh emulation POSIX non-conformances ("inf"/"Inf" in arithmetic expressions) Message-ID: <20210426102853.GA3941520@zira.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20210413071742.tisslgg5fdqbageg@chazelas.org> <20210422153100.GD154089@zira.vinc17.org> <20210423164525.GA2033191@zira.vinc17.org> <55222-1619218004.791735@3FXq.NU49.vlrg> <20210424230219.GD2587578@zira.vinc17.org> <20210425201730.GA3907643@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.0.6+162 (8b7dd25b) vl-137001 (2021-04-24) X-Seq: 48714 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 2021-04-25 14:58:33 -0700, Bart Schaefer wrote: > On Sun, Apr 25, 2021 at 1:18 PM Vincent Lefevre wrote: > > > > You may have non-standard Turkish locales > > I have whatever is standard for Ubuntu 20.04.2 LTS. Indeed, this depends on the system. Under Debian: zira% export LC_ALL=tr_TR.utf8 zira% echo ${${:-Inf}:l} ${${:-inf}:u} ınf İNF Ditto under CentOS Linux 7 (AltArch): gcc1-power7% export LC_ALL=tr_TR.utf8 gcc1-power7% echo ${${:-Inf}:l} ${${:-inf}:u} ınf İNF But under macOS: vinc17@minimac ~ % export LC_ALL=tr_TR.UTF-8 vinc17@minimac ~ % echo ${${:-Inf}:l} ${${:-inf}:u} inf INF -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)