Skip to content

Instantly share code, notes, and snippets.

@johnrizzo1
Created October 9, 2019 18:46
Show Gist options
  • Save johnrizzo1/b981adc6bd2e88bd4d46ded0622d4a5c to your computer and use it in GitHub Desktop.
Save johnrizzo1/b981adc6bd2e88bd4d46ded0622d4a5c to your computer and use it in GitHub Desktop.
bash formatted string
for i in $(seq 02 04); do
for j in $(seq 01 36); do
printf -v k "r%02dn%02d.sls\n" $i $j;
touch $k;
done;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment