I am trying to write a BASH script that downloads some transcripts of a podcast with cURL. All transcript files have a name that only differs by three digits: filename
filename
Will this do?
#!/bin/bash i=1 zi=000000000$i s=${zi:(-3)} echo $s