1234567891011121314151617181920212223242526 |
- #! /bin/bash
- echo "talkii usage: talkii <chandirhere>"
- #templine:
- echo "run flite -l -f talk"
- #the gist of what i want
- #tail -n1 out | flite -t $1
- # this works... sorta.
- #with
- #flite -l -f talk
- #also running
- watch -n1 -g stat -f out ;and tail -n1 out > talk ;and sleep 1 ;and echo > talk
- talkii
- #this "works".
- #as in, it wont loop saying the whole of everything forever, and no need to wipe the out file.
- #it's very janky and unreliable, but gets me to the next ballpark of development n cleaning this up to work cleaner, smarter, better.
- ### 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)
|