Skip to content

Instantly share code, notes, and snippets.

@m4nh
Last active May 2, 2020 22:39
Show Gist options
  • Save m4nh/c6ec48f2fe0ca4c8690f8bb74f02e443 to your computer and use it in GitHub Desktop.
Save m4nh/c6ec48f2fe0ca4c8690f8bb74f02e443 to your computer and use it in GitHub Desktop.
#bash #for #loop to #print indices #zeropadding
#!/bin/bash
for i in $(seq -f "%05g" 00 10 50);
do
echo $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment