summaryrefslogtreecommitdiffstats
path: root/bin/waterboy
diff options
context:
space:
mode:
Diffstat (limited to 'bin/waterboy')
-rwxr-xr-xbin/waterboy10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/waterboy b/bin/waterboy
new file mode 100755
index 0000000..9a1e425
--- /dev/null
+++ b/bin/waterboy
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ $# = 0 ]; then
+ echo "Give me some names, Waterboy!" | cowsay
+ exit 1
+fi
+
+chosen_one=$(shuf -e $@ | head -n 1)
+
+echo "Go $chosen_one, Waterboy!" | cowsay