#987540 zsh: $((inf)) not handled correctly in tr_TR.utf8 locale

Package:
zsh
Source:
zsh
Description:
shell with lots of features
Submitter:
Vincent Lefevre
Date:
2021-04-25 10:54:03 UTC
Severity:
normal
#987540#5
Date:
2021-04-25 10:49:43 UTC
From:
To:
In zsh, $((inf)) should be regarded as infinity, not as the inf
variable. This does not work with tr_TR.utf8, probably because
"I" and "i" are not the same letter in Turkish.

$ zsh -fc 'export LC_ALL=tr_TR.utf8; echo $((Inf)) $((inf))'
Inf 0

This may be a Debian specific bug (upstream cannot reproduce it).