Joe Lightning wrote:
>         Description:
>                 Bash doesn't like leading zeros in arithmetic expansion.
>         
>         Repeat-By:
>                 echo $(( 09 - 1 ))

This is bash FAQ E8.

  http://www.faqs.org/faqs/unix-faq/shell/bash/

Leading zeros denote octal.  In octal the valid digits are 0-7 with 8
and 9 outside of the octal range.

Bob

Reply via email to