summaryrefslogtreecommitdiffstats
path: root/bin/type.sh
blob: 32e08265d5da9f8f78440494e435eeea75d92493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
while read line
do
    grep -o . <<<$line | while read a
    do
        sleep 0.$((RANDOM%3))
        #2>&1 echo -n "${a:- }" | tee /dev/tty
        echo -n "${a:- }" | tee /dev/tty
    done
    sleep 0.$((RANDOM%7))
    1>&2 echo -ne $"\n"
    echo
    sleep 1.0
done