Value too great for base (error token is “09”)

Prepend the string “10#” to the front of your variables. That forces bash to treat them as decimal, even though the leading zero would normally make them octal.

Leave a Comment