This:
dots=$(printf "%0.s." {1..10})
prints this:
.......... .
I'd like to know how to get printf in Bash to print .s up to a specific column position, let's say 30, where the start column will vary.
For example:
Add dots ....................
Add dots dots ...............
Add dots dots dots ..........