8 lines
81 B
Bash

#!/bin/bash
foo() {
echo "Hello Bash!"
}
while true; do foo; sleep 2; done