summaryrefslogtreecommitdiffstats
path: root/bin/type.sh
diff options
context:
space:
mode:
authorYigit Sever2019-03-17 23:09:49 +0300
committerYigit Sever2019-03-17 23:18:28 +0300
commitea211500227aa58f5e495777743c5d391cbc3110 (patch)
treeafa2b455f9fea40b45dbf8a742c0d0d498024edb /bin/type.sh
downloaddotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.gz
dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.bz2
dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.zip
Initial commit
Diffstat (limited to 'bin/type.sh')
-rwxr-xr-xbin/type.sh13
1 files changed, 13 insertions, 0 deletions
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 @@
1while read line
2do
3 grep -o . <<<$line | while read a
4 do
5 sleep 0.$((RANDOM%3))
6 #2>&1 echo -n "${a:- }" | tee /dev/tty
7 echo -n "${a:- }" | tee /dev/tty
8 done
9 sleep 0.$((RANDOM%7))
10 1>&2 echo -ne $"\n"
11 echo
12 sleep 1.0
13done