summaryrefslogtreecommitdiffstats
path: root/.local/bin/type.sh
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/type.sh')
-rwxr-xr-x.local/bin/type.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/.local/bin/type.sh b/.local/bin/type.sh
new file mode 100755
index 0000000..b9dbcd7
--- /dev/null
+++ b/.local/bin/type.sh
@@ -0,0 +1,15 @@
1#!/usr/bin/env bash
2sleep 1
3while read line
4do
5 grep -o . <<<$line | while read a
6 do
7 sleep 0.$((RANDOM%3))
8 #2>&1 echo -n "${a:- }" | tee /dev/tty
9 echo -n "${a:- }" | tee /dev/tty
10 done
11 sleep 0.$((RANDOM%7))
12 1>&2 echo -ne $"\n"
13 echo
14 sleep 1.0
15done