diff options
author | tv <tv@nomic.retiolum> | 2013-09-02 18:26:40 +0200 |
---|---|---|
committer | tv <tv@nomic.retiolum> | 2013-09-02 18:26:40 +0200 |
commit | 813ef976882da5ce78d10bb2ab9227bb8e53cfa3 (patch) | |
tree | fa536635ffb3beab73f0ddf446357ba9c2ffec56 /util/lib/naturalvoices/att.sh | |
parent | 352a8ccb2f1a802eb9d15c9851e716bd9454c589 (diff) |
util lib naturalvoices att.sh: drop wget
Diffstat (limited to 'util/lib/naturalvoices/att.sh')
-rwxr-xr-x | util/lib/naturalvoices/att.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/lib/naturalvoices/att.sh b/util/lib/naturalvoices/att.sh index 5e966c79..0875e73a 100755 --- a/util/lib/naturalvoices/att.sh +++ b/util/lib/naturalvoices/att.sh @@ -16,7 +16,7 @@ get_tts(){ voice="${voice:-klara}" ip=192.20.225.36 base_url="http://$ip" - wget $base_url$( curl -Ss -H 'Host:$ip' \ + curl -sS $base_url$( curl -Ss -H "Host:$ip" \ -H 'Origin:http://www2.research.att.com' \ -e "http://www2.research.att.com/~ttsweb/tts/demo.php" \ -A "Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0" \ @@ -24,7 +24,7 @@ get_tts(){ -H 'Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' \ $base_url/tts/cgi-bin/nph-nvttsdemo | \ grep HREF|sed 's/.*\(".*"\).*/\1/' | \ - sed -e 's/"//g' ) -O "$OUTFILE" 2>/dev/null + sed -e 's/"//g' ) >"$OUTFILE" } play_file(){ |