Files
hornetsay/hornet.sh
T
2026-02-09 00:18:18 +01:00

47 lines
1.0 KiB
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/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
fi
line=""
for (( i=0; i<${#text}+4; i++ )); do
line="$line-"
done
echo $line
echo "| $text |"
echo $line
echo " \\/"
echo ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡠⡲⠃⡰⣆⠀⠀
echo ⠀⠀⠀⠀⠀⠀⠀⢀⡔⢡⠮⡠⠊⣰⠂⠀⠀
echo ⠀⠀⠀⠀⠀⠀⢀⠎⠠⡧⠊⠀⡠⠁⠀⠀⠀
echo ⠀⠀⠀⠀⠀⠀⡘⠀⠀⠀⠀⡔⠃⠀⠀⠀⠀
echo ⠀⠀⠀⠀⠀⠀⣯⣃⣾⡧⠊⠀⠀⠀⠀⠀⠀
echo ⠀⠀⠀⠀⠀⠀⢀⣿⣿⣥⠀⠀⠀⣀⣤⠾⠷
echo ⠀⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣶⡿⠋⠉⠀⠀
echo ⠀⠀⠀⠀⠈⣻⠿⣿⣿⣿⡿⠛⠃⠀⠀⠀⠀
echo ⠀⠀⣤⣔⠎⠇⠙⠀⢧⢸⠀⠀⠀⠀⠀⠀⠀
echo ⠐⠊⠁⠁⠀⠀⠀⠀⠸⢸⠀⠀⠀⠀⠀⠀⠀