BASH step values
This is cool, I can use this syntax:
{<start>..<end>..<increment>}
To step through numbers! Like this:
$ echo {1..10..2}
1 3 5 7 9
It works in loops, or any old thing! Awesome!
This is cool, I can use this syntax:
{<start>..<end>..<increment>}
To step through numbers! Like this:
$ echo {1..10..2}
1 3 5 7 9
It works in loops, or any old thing! Awesome!