-------for in 格式------- for 無$變量 in 字符串 do $變量 done 參考:http://blog.csdn.net/linuxheik/article/details/16858319