date1=$1 date2=$2
我怎样才能检查是否$date1是之前$date2?
$date1
$date2
两个日期都是DD/MM/YY格式,即01/01/15.
DD/MM/YY
01/01/15
shell bash date
bash ×1
date ×1
shell ×1