This commit is contained in:
Peter Beluzsar
2026-02-09 00:18:18 +01:00
parent 794f94463e
commit d9eed47c10
+22
View File
@@ -1,6 +1,28 @@
#!/bin/bash #!/bin/bash
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 read text
fi
line="" line=""