Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA
On 6/14/19 10:19 AM, Jeremy Townshend wrote:
> Bash Version: 4.4
> Patch Level: 19
> Release Status: release
>
> Description:
> Unexpected and undocumented behaviour for arithmetic evaluation of
> negative numbers when prefixed with the optional "base#" (e.g. 10#${i}). The
> base prefix m
On 14.6. 17:19, Jeremy Townshend wrote:
echo $((10#-1)) # -1 as expected
Earlier discussion about the same on bug-bash:
https://lists.gnu.org/archive/html/bug-bash/2018-07/msg00015.html
Bash doesn't support the minus (or plus) sign following the 10#.
I think the expression above seem