致力于Ubuntu中文推广http://forum.ubuntu.com.cn/
http://forum.ubuntu.com.cn/viewtopic.php?t=471408
代码: 全选
#!/usr/bin/env bash baseurl="http://dict.youdao.com/dictvoice?audio=" wordlistfile="wordlist.txt" while read word do curl -o "$word".mp3 "${baseurl}$word" done < "$wordlistfile"