Plan 9 from Bell Labs’s /n/sources/contrib/nemo/rc/bin/speaksrvstd

Copyright © 2009 Alcatel-Lucent.
Distributed under the Lucent Public License version 1.02.
Download the Plan 9 distribution.


#!/bin/rc

text=''
if (~ $1 -i) {
	text=`{sed 1q}
	shift
}
machine=$1
shift
if (~ $text '')
	text=$"*
# 
# This processing should be done according to a $home/lib/words
# file or something, to state which things (eg, rm) are pronounced
# in which ways (eg. delete).
# Probably, each new application should install its own set of
# translations.

if (test -x /bin/spellwords)
	text=`{echo $text | spellwords}
{  echo '(SayText "'^$"text^'")' } | ssh $machine festival
exit ''

(This is a user-contributed directory and
should not be interpreted as statement by Alcatel-Lucent.)

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2009 Alcatel-Lucent. All Rights Reserved.
Comments to webmaster@plan9.bell-labs.com.