The Wanderer <[email protected]> writes: > $ echo {1..10} > > , the 'for i in {1..10}; do' is exactly equivalent to 'for i in 1 2 3 4 > 5 6 7 8 9 10 ; do'.
The coolest thing about this brace expansion is that you can even get
the numbers zero padded for a fixed width, like maybe for filenames or
tabular data.
So echo {01..10} outputs 01 02 03 04 05 06 07 08 09 10.

