View Single Post
Benson's Avatar
Posts: 4,930 | Thanked: 2,272 times | Joined on Oct 2007
#7
Originally Posted by Johnx View Post
#!/bin/sh

DISPLAY=:0 flite "$(xclip -o)"

#-John
I made a version of that which fixes text with \uXXXX escapes (replaces a couple it knows about, and discards others) instead of reading them "backslash u two thousand fourteen". Handy for reading stuff from some websites. It also uses my 'say' wrapper, but could easily be reverted to use sed if you don't have and aren't willing to get sox, esdcat. (I'm posting again with it, since this won't permit more than 5 attachments...)
Attached Files
File Type: txt readsel.sh.txt (144 Bytes, 118 views)