go
sum := 0 for { sum++ // repeated forever fmt.Println(sum) }
Bash
#!/bin/bash while true; do ((var++)) echo $var done
Advertising: