When I use the following, I get a result as expected:
$ echo {8..10}
8 9 10
How can I use this brace expansion in an easy way, to get the following output?
$ echo {8..10}
08 09 10
I now that this may be obtained using seq
(didn't try), but that is not what I am looking for.
Useful info may be that I am restricted to this bash version. (If you have a zsh
solution, but no bash
solution, please share as well)
$ bash -version
GNU bash, version 3.2.51(1)-release (x86_64-suse-linux-gnu)