mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-05 05:38:21 -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
|