Id day of the year return number with prepended 0(zero) script can't calculate progress with error: "Value too great for base" because bash assumes it is octal number.