Many thanks, guys!
On Wed, Jul 20, 2011 at 7:46 PM, Jonathan Nieder <jrnieder@gmail.com> wrote:
>
> Hope that helps,
> Jonathan
>
> [*] http://tiswww.case.edu/php/chet/bash/FAQ
> question E8 ("Why does the arithmetic evaluation code complain about
> `08'?")
>
On Thu, Jul 21, 2011 at 7:47 AM, Pierre Gaston <pierre.gaston@gmail.com> wrote:
>
> integer with a leading 0 are considered as octal by bash and 08 is not
> valid in base 8.
> you can force the base doing:
> echo $((10#08+1))
>