mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-27 09:48:36 -05:00
7 lines
221 B
Fish
7 lines
221 B
Fish
function tt -d "typing speed testing"
|
|
iconv -f UTF-8 -t ASCII "$argv" | sed 's/--/-/g' \
|
|
| sed '/^$/d' | sed 's/^[ \t]*//' | sed 's/\(^.\{1,80\}\).*/\1/' \
|
|
> /tmp/tt.txt
|
|
command tt /tmp/tt.txt
|
|
end
|