via Julien:

% S=(sleep code) ; echo ${S[$(($RANDOM % ${#S[*]} + 1))]} sleep

Guess it’s time to goto :BED :-(