摘要: [root@test shell2]# cat if_9.sh #!/bin/bash #判断某年是否为闰年 echo -n "请输入查询的年份:" read YEAR if [ $[$YEAR%4] -eq 0 -a $[$YEAR%100] -ne 0 ];then echo "$YEAR is 阅读全文
posted @ 2020-04-17 15:47 ccbky 阅读(189) 评论(0) 推荐(0) 编辑