Ubuntu中文论坛
致力于Ubuntu中文推广
跳到内容
#1
帖子 由 jin7 » 2015-06-22 9:18
#2
帖子 由 hoxily » 2015-06-22 9:56
代码: 全选
#!/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"
回到 “Shell脚本”