How to Format seq Output

seq comes with the -f option, allowing us to specify a printf(3) format string.

For example, to zero pad seq output (five zeros):

See: seq(1) printf(3)