Y
Hacker News
new
|
ask
|
show
|
jobs
by
alerighi
1670 days ago
In zsh you can avoid the do if you have a single instruction:
for i in {1..10}; echo $i
to me is as clear as the python version. Very compact and useful for one liners.