draw.sh
is a shell script that can help you randomly pick a choice (picking multiple choices is also supported) from several options.
./draw.sh [-n num_of_chosen] [option1] [option2] [option3]
-n
how many options you want to pick- If not given, default is 1
./draw.sh apple banana mango
mango
./draw.sh -n 2 apple banana mango
banana
apple