コールサインをAquosTalkで2015 8/1 からgoogle のTTS が機械的には使用できなくなったので、AquosTalkで ---- /roo/tesay.sh ----
#!/bin/sh
OMYCL="--"
while :
do
wget -q -N server.address/temp2.txt -P /root
if [ -f /root/temp2.txt ]; then
FLAG=`cat /root/temp2.txt`
fi
if test "$FLAG" != "" ; then
MYCL=`echo $FLAG | cut -d":" -f5 | cut -b2-9 | /root/henkan`
NODE=`echo $FLAG | cut -d":" -f7 | cut -b2-9 | /root/henkan`
# echo "$MYCL @ $NODE"
if test "$MYCL" != "$OMYCL" ; then
/home/pi/bin/atk "$MYCL"
/home/pi/bin/atk "$NODE"
OMYCL="$MYCL"
# rm -f /root/temp2.txt
fi
sleep 1
fi
sleep
--- /root/henkan --- sed -e ' s/1/ワン,/g s/2/テュー,/g s/3/スリー,/g s/4/フォー,/g s/5/ファイブ,/g s/6/シィックス,/g s/7/セブン,/g s/8/エイト,/g s/9/ナイン,/g s/0/ゼロ,/g' |