Hi Cédric,
Cédric Martínez Campos wrote:
> $ echo $((08+1))
> bash: 08: too big element for the base (the error element is "08")
> [translated from spanish]
Strings of digits starting with a '0' in an arithmetic expansion are
octal numbers. The bash FAQ[*] has some details.
Hope that helps,
Jonathan
[*] http://tiswww.case.edu/php/chet/bash/FAQ
question E8 ("Why does the arithmetic evaluation code complain about
`08'?")