Hello,
I am trying to test festival and an example using /var/log/messages but i can't do running ...
As root, i run the script
#!/bin/bash
tail -0f /var/log/messages | sed "s/^[^:]*:[^:]*:[^:]*: //"|while read LINE
do
echo $LINE | festival --tts
sleep 0.75
done
it seems ok, but, i dont know why, no events are reading by "read LINE',
because, if i use set -x , traces allways shows + read LINE .... waiting ..
and if i write something using logger command, no work too ... but texts
are writting into the file ..
but the scripts works with other files ... um ..
what about /var/log/message ?
what am i doing wrong ?
thank you