diff options
author | noa | 2024-01-03 10:33:14 +0000 |
---|---|---|
committer | noa | 2024-01-03 10:33:14 +0000 |
commit | bf0cf3862464b741fac3044c7898c1aeb9e9cd62 (patch) | |
tree | 9c03ce5fd45cb87b15ed2743a795234f65bf0f74 /commands/combination | |
parent | c6dcab9d7ead82b6cf7d985c3fa46527dcccc7b2 (diff) |
Move all commands into commands/ subdirectory
Diffstat (limited to 'commands/combination')
-rwxr-xr-x | commands/combination | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/commands/combination b/commands/combination new file mode 100755 index 0000000..6b1556e --- /dev/null +++ b/commands/combination @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +eval set -- "$1" + +PIZZAHUT="${1^^}" +TACOBELL="${2^^}" + +N=$((1 + $RANDOM % 3)) + +case $N in + 1) + echo "I'M AT THE COMBINATON" "$PIZZAHUT" "AND" "$TACOBELL" + ;; + 2) + echo "WE'RE AT THE COMBINATON" "$PIZZAHUT" "AND" "$TACOBELL" + ;; + 3) + echo "WE AT THE COMBINATON" "$PIZZAHUT" "AND" "$TACOBELL" + ;; +esac |