summaryrefslogtreecommitdiffstats
path: root/.local/bin/type.sh
diff options
context:
space:
mode:
authorYigit Sever2021-11-07 23:42:15 +0300
committerYigit Sever2021-11-07 23:42:15 +0300
commit9fa9973c2d2f91cef7bdd26cb52064c13f4d682e (patch)
tree13aa64b09bc91e16f3dd3217bf3d647559af2cf9 /.local/bin/type.sh
parent9382166b5522a5d9e2d62e93e702b4d0886cedb4 (diff)
parentfcb2237c01bcd2b7982bb844cea4cf9447f20d03 (diff)
downloaddotfiles-9fa9973c2d2f91cef7bdd26cb52064c13f4d682e.tar.gz
dotfiles-9fa9973c2d2f91cef7bdd26cb52064c13f4d682e.tar.bz2
dotfiles-9fa9973c2d2f91cef7bdd26cb52064c13f4d682e.zip
Merge remote-tracking branch 'origin/main'
Diffstat (limited to '.local/bin/type.sh')
-rwxr-xr-x.local/bin/type.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/.local/bin/type.sh b/.local/bin/type.sh
index b9dbcd7..2d563f3 100755
--- a/.local/bin/type.sh
+++ b/.local/bin/type.sh
@@ -1,15 +1,13 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2sleep 1 2sleep 1
3while read line 3while read -r line; do
4do 4 grep -o . <<< "$line" | while read -r a; do
5 grep -o . <<<$line | while read a 5 sleep 0.$((RANDOM % 3))
6 do
7 sleep 0.$((RANDOM%3))
8 #2>&1 echo -n "${a:- }" | tee /dev/tty 6 #2>&1 echo -n "${a:- }" | tee /dev/tty
9 echo -n "${a:- }" | tee /dev/tty 7 echo -n "${a:- }" | tee /dev/tty
10 done 8 done
11 sleep 0.$((RANDOM%7)) 9 sleep 0.$((RANDOM % 7))
12 1>&2 echo -ne $"\n" 10 echo 1>&2 -ne $"\n"
13 echo 11 echo
14 sleep 1.0 12 sleep 1.0
15done 13done