3 ms·
No mention of my pet peeve! You don't need a subshell/seq to count. The shell is smart, it can count for you - and even respect digits. These examples are su
by bravetraveler 5y ago
No mention of my pet peeve! You don't need a subshell/seq to count.
The shell is smart, it can count for you - and even respect digits. These examples are subtle, but different in result:
for i in {00..10} ; do echo $i ; done
for i in {0..10} ; do echo $i ; done