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' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2 -Wall uname output: Linux Asus-M50Vc 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux Machine Type: x86_64-pc-linux-gnu
Bash Version: 4.1 Patch Level: 5 Release Status: release Description: The integer addition $(($x+$y)) crashes if $x==08 or $x==09 (with a leading 0). Repeat-By: $ echo $((8+1)) 9 $ echo $((9+1)) 10 $ echo $((08+1)) bash: 08: too big element for the base (the error element is "08") [translated from spanish] $ echo $((09+1)) bash: 09: too big element for the base (the error element is "09") [translated from spanish] $ for i in {6..12}; do echo $(($i+1)); done 7 8 9 10 11 12 13 $ for i in {06..12}; do echo $(($i+1)); done 7 8 bash: 08: too big element for the base (the error element is "08") [translated from spanish] $ for i in {10..12}; do echo $(($i+1)); done 11 12 13