shell中获取系统日期的前一天

#shell中获取系统日期的前一天shell if [ $# -eq 1 ] then dat=$1 else year=`date +%Y` mon=`date +%m` day=`date +%d` day=`expr $day - 1` if [ $day -eq 0 ]      then          mon=`expr $mon - 1`          if [ $mon -e
相关文章
相关标签/搜索