Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: sh emulation POSIX non-conformances ("inf"/"Inf" in arithmetic expressions)
On 2021-04-25 14:58:33 -0700, Bart Schaefer wrote:
> On Sun, Apr 25, 2021 at 1:18 PM Vincent Lefevre <vincent@xxxxxxxxxx> 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 <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author