我看了,但找不到任何东西。程序例如,我使用TTS可以让你做到以下几点:Linux:我如何正确地将文本输入程序?
~#festival -tts | echo "I am to be spoken"
这是非常好的,但是对于节目我用,如hexdump都可以,我不知道怎么管的文本到它。我真的可以使用其中的一些东西,一些例子我试图(但失败了),就像这样:
~#gtextpad < dmesg
//(how do I put the contents into the text pad for display? not just into a file)
~#hexdump | echo "I am to be put into hexdump"
//(How do I get hexdump to read the echo? It normally reads a file such as foo.txt..)
啊。反过来,现在我可以做一些我想要的有用的自动化的东西。 – 2010-02-07 05:36:48