BASH Decrement Does not work
track-=1
produces
track: command not found
It's weird because track+=1 works just fine
The solution is to used the old fashion method:
track=$(($track - 1))
track-=1
produces
track: command not found
It's weird because track+=1 works just fine
track=$(($track - 1))