FYI, bash has builtin arithmetic expression:

```
><> for ((i=1;i<=5;i++)); do echo $i; done
1
2
3
4
5
```

This way, we don't have to fork out to `expr` to increment the counter. Minor nitpick though.