anon

anon wrote

Reply to stay safe :| by plim

Those buttons that you have to press and wait for green: I wish we had those for drivers, so they'd have to get out and ask for green light.

3

anon wrote (edited )

Why worry about built-in looping constructs when you have recursion?

function loop() {
	if test -n "$1"; then
		echo "$1"
		loop "${@:2}"
	fi
}

loop 1 2 3
1