Note : roulette russe en Bash 4fun - Le Hollandais Volant
lundi 16 décembre 2013 à 13:08Pour zsh :
[ $[ $RANDOM % 6 ] -eq 0 ] && echo "You Die" || echo "You live"
Je teste : You live ^^
(Permalink)
[ $[ $RANDOM % 6 ] -eq 0 ] && echo "You Die" || echo "You live"
Je teste : You live ^^
(Permalink)