#!/bin/bash #以天做循环 #shx.sh2017010120170103 stime=$1 etime=$2 while: do stime=$(date-d"$stime1day"+%Y%m%d) if[[$stime-gt$etime]];then break; fi done原文链接:https://www.f2er.com/bash/392688.html
#!/bin/bash #以天做循环 #shx.sh2017010120170103 stime=$1 etime=$2 while: do stime=$(date-d"$stime1day"+%Y%m%d) if[[$stime-gt$etime]];then break; fi done原文链接:https://www.f2er.com/bash/392688.html