mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-02 04:08:30 -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
|