((: 08: value too great for base (error token is "08")
Here is the code that caused it
for ((track=1;track <= $number_of_tracks;track+=1));do
Also in each iteration "track" is padding with zeros using:
track=`printf "%02d" $track`
It doesn't happen until you pass 8 to it, if you pass 1,2,3,4,5,6 or 7 it works fine. I read this is because it sees these numbers as octal numbers (it as in many progamming languages and also the BASH shell).