f(){ echo duck&&expr `date +%N` % 2 >/dev/null&&f||echo goose;};f
Standard input is empty
duck duck duck duck goose
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!