blob: 2d563f3eb319a68971df880b53d4dba15e6b9945 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env bash
sleep 1
while read -r line; do
grep -o . <<< "$line" | while read -r 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))
echo 1>&2 -ne $"\n"
echo
sleep 1.0
done
|