i=0; while [ "$i" -le 10 ]; do # ... i=$((i + 1))done
👆 This is how you do a for loop in a POSIX-compatible shell script. Yes, it’s ugly. No, seq(1) is not in POSIX.
This is the personal Mastodon instance of Tim Weber (also known as scy). Because federation.