Commit e63b1501 authored by 王志伟's avatar 王志伟

bug fix

parent 17829832
...@@ -2,9 +2,8 @@ if [[ $# -ne 2 ]];then ...@@ -2,9 +2,8 @@ if [[ $# -ne 2 ]];then
echo 'Usage:'$0' <startdate> <enddate>' echo 'Usage:'$0' <startdate> <enddate>'
exit exit
fi fi
startdate=`date -d "$1" +%Y-%m-%d`
startdate=`date -d "$1" +%Y-%m-%d` enddate=`date -d "$2" +%Y-%m-%d`
enddate=`date -d "$2" +%Y-%m-%d`
while [[ $startdate < $enddate]] while [[ $startdate < $enddate]]
do do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment