From d9eed47c100fea49274c9e9170d859ff3a72bab3 Mon Sep 17 00:00:00 2001 From: Peter Beluzsar Date: Mon, 9 Feb 2026 00:18:18 +0100 Subject: [PATCH] HEGALE --- hornet.sh | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/hornet.sh b/hornet.sh index 555dec0..b5b9d30 100755 --- a/hornet.sh +++ b/hornet.sh @@ -1,6 +1,28 @@ #!/bin/bash -read text +AUTO=false + +while getopts "a" flag; do + case "$flag" in + a) + shaws=("SHAW!" "HEAGALE" "GIT GUD" "Fren." "HahAH" "EDINO!") + length=${#shaws[@]} + random_index=$(( RANDOM % length )) + + text=${shaws[$random_index]} + AUTO=true + ;; + *) + echo "gatya" + ;; + esac +done + + +if [ $AUTO = false ] +then + read text +fi line=""