flood/randflood.sh
2025-03-11 08:40:39 -04:00

31 lines
665 B
Bash
Executable File

#!/bin/bash
RED='\033[0;31m'
GREEN='\033[0;32'
# generate a random series of characters
array[0]="poops "
array[1]="0100101010010010101001001"
array[2]="abcdefgfedcba"
array[3]="--*--*--*--*"
array[4]=" !! "
array[5]="|||||||||||||||||||"
array[6]="~~**~~** "
array[7]="__________________"
array[8]="++++++++++++++++++"
array[9]="000000000000000000"
#echo ${array[$index]}
#for run in {1..9999}
#do
size=${#array[@]}
index=$(($RANDOM % $size))
for run in {1..1000}
do
#echo -ne "$(tput setaf 1)Red text $(tput setab 7)and white background$(tput sgr 0)"
#printf "*$%%#^^ **#888882 001001"
echo -ne ${array[$index]}
done
# sleep 0.25
#done