From bf0cf3862464b741fac3044c7898c1aeb9e9cd62 Mon Sep 17 00:00:00 2001 From: noa Date: Wed, 3 Jan 2024 10:33:14 +0000 Subject: Move all commands into commands/ subdirectory --- commands/combination | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 commands/combination (limited to 'commands/combination') 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 -- cgit 1.4.1-2-gfad0