Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clear
- tput setf 2
- lines="$(tput lines)"
- col="$(tput cols)"
- for i in `seq 0 $col`
- do
- m[i]=0
- done
- while [ 0 ]
- do
- c=$((RANDOM%col))
- tput cup ${m[c]} $c
- m[c]=$((${m[c]}+1))
- if [ ${m[c]} -gt $lines ]
- then
- m[c]=0
- fi
- d=$((RANDOM%lines/3))
- if [ $d -ne 0 ]
- then
- printf \\$(printf '%03o' $((32+$RANDOM%90)))
- #cat /dev/urandom | tr -d -c [:print:] | head -c 1
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement