# newnum=$(( $num + 100 ))
newnum=$(printf '%03d' $num)
It would help to see your script.Quote:
I adapted your script and executed it but im getting this issue:
' value too great for base '
This is a bash script, not sure what you mean.Quote:
Would it make sense to make a bash version of this script or would I run into the same problem?