talkii 808 B

1234567891011121314151617181920212223242526
  1. #! /bin/bash
  2. echo "talkii usage: talkii <chandirhere>"
  3. #templine:
  4. echo "run flite -l -f talk"
  5. #the gist of what i want
  6. #tail -n1 out | flite -t $1
  7. # this works... sorta.
  8. #with
  9. #flite -l -f talk
  10. #also running
  11. watch -n1 -g stat -f out ;and tail -n1 out > talk ;and sleep 1 ;and echo > talk
  12. talkii
  13. #this "works".
  14. #as in, it wont loop saying the whole of everything forever, and no need to wipe the out file.
  15. #it's very janky and unreliable, but gets me to the next ballpark of development n cleaning this up to work cleaner, smarter, better.
  16. ### so.... seriously this is jaaaaaank. janky janky. so many holes it wont catch. so, need to tighten it up, n get it such that it wont freak out, wont repeat things, wont miss things, wont need 2 commands running for it (get the flite into it)