diff options
author | Yigit Sever | 2019-03-17 23:09:49 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-17 23:18:28 +0300 |
commit | ea211500227aa58f5e495777743c5d391cbc3110 (patch) | |
tree | afa2b455f9fea40b45dbf8a742c0d0d498024edb /bin/type.sh | |
download | dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.gz dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.tar.bz2 dotfiles-ea211500227aa58f5e495777743c5d391cbc3110.zip |
Initial commit
Diffstat (limited to 'bin/type.sh')
-rwxr-xr-x | bin/type.sh | 13 |
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 @@ | |||
1 | while read line | ||
2 | do | ||
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 | ||
13 | done | ||