diff options
author | noa | 2024-01-03 10:30:24 +0000 |
---|---|---|
committer | noa | 2024-01-03 10:30:24 +0000 |
commit | 28d765eb93836afa5b0a74fcc8467a0a52415309 (patch) | |
tree | a01d90915d7b4816051a97036fcd3f9903d3fc2b | |
parent | 1f5337f7a099b880e1ceef784e73a294c1ea0924 (diff) |
Add combination
-rwxr-xr-x | combination | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/combination b/combination new file mode 100755 index 0000000..6b1556e --- /dev/null +++ b/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 |