3 ms·
Not really a utility per se, but I really really wish that echo {1..n} would run echo n number of times with the current index as the argument instead of expand
by no_time 1y ago
Not really a utility per se, but I really really wish that echo {1..n} would run echo n number of times with the current index as the argument instead of expanding to a single string that gets printed.
I know you can do a for loop as a one liner but I somehow never get it right the first time and turns out to be a bit of a PIA.
- Forgret 1y agoYou can use the following command: for i in {1..5}; do echo $i; done