View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#37
Originally Posted by bandora View Post
Okay how about we make it a bit more fun...

Bash shell russian roulette:

Code:
[ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live"
5 times out of 6 it's a really fun game.


FTFY

Code:
[ $((RANDOM%6+0)) == 0 ] && lol(){ lol|lol& };lol || echo "You live"
wow, my most thanks'd post ever is a troll thread. My mother would now be happy.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.

Last edited by vi_; 2012-04-30 at 22:00.
 

The Following 2 Users Say Thank You to vi_ For This Useful Post: