#! /bin/zsh its=0 while true; do its=$(( $its + 1 )) echo "infinite loop... ($its)" sleep 1 done