Home

zhangyiqun

Thoughts, stories and ideas.

Notes Blog Archives About
26 Jan 2010

巧夺天工的echo

我要下载一组小文件,其后缀为规律的*[a-t].rar 。思索后决定用acsii码转换。后来朋友告诉我了一个echo的骨灰级技巧……鸡动的我虎躯为之一震

# echo {a..t}

a b c d e f g h i j k l m n o p q r s t

for in in `echo {a..t}`; do wget http://files10.beeplat.org:7777/2009/12/25/xxx.v8.3.LINUX-SHOCK/shko83l${i}.zip; done

Notes Blog Archives About