From ea211500227aa58f5e495777743c5d391cbc3110 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sun, 17 Mar 2019 23:09:49 +0300 Subject: Initial commit --- bin/type.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/type.sh (limited to 'bin/type.sh') diff --git a/bin/type.sh b/bin/type.sh new file mode 100755 index 0000000..32e0826 --- /dev/null +++ b/bin/type.sh @@ -0,0 +1,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 -- cgit v1.2.3-70-g09d2