blob: 8ad43fe92f06a966909b31d61a15b91406e2fbed (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/local/bin/dash
[ "$5" = "LOW" ] && exit
[ "$3" ] || exit
words=$(printf "%s" "$3" |
sed 's/<b>//g' |
sed 's/<\/b>//g' |
sed 's/[^a-zA-Z0-9?!.,% ]//g')
words=$(printf "%s" "$words" | gsed 's/^[0-9]\+//g')
espeak "$words"
|