From 28d765eb93836afa5b0a74fcc8467a0a52415309 Mon Sep 17 00:00:00 2001 From: noa Date: Wed, 3 Jan 2024 10:30:24 +0000 Subject: Add combination --- combination | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 combination 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 -- cgit 1.4.1-2-gfad0