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