I wrote a bash script in that i had a Value=09
and when I used $((Value)) an error occurred:
09: value too great for base (error token is “09”)
then I made a new bash file just with this line:
$((09))
and this had error again. I changed my way for that program but this question remained for me: Why? Whats wrong? Just 08 and 09 have this problem.
You can specify the base in bash. To force base 10:
From the bash manual: