1.循环数组
list=(20180531 20180430 20180331 20180228 20180131 20171231 20171130 20171031 20170930 20170831 20170731 20170630 20170531 20170430 20170331 20170228 20170131)
for value in "${list[@]}"
do
cycle expression
done
list=(20180531 20180430 20180331 20180228 20180131 20171231 20171130 20171031 20170930 20170831 20170731 20170630 20170531 20170430 20170331 20170228 20170131)
for value in "${list[@]}"
do
cycle expression
done
转载于:https://www.cnblogs.com/WinseterCheng/p/9295301.html