摘要: 抽空制作的一个取前一月份和后一月份脚本 #!/bin/bashusage(){ echo "Usage: $0 201401" exit 0}if [ x$1 == x ];then usagefi year=`echo $1|cut -c 1-4`month=`echo $1|cut -c 5-6`next_month(){ if [ $2 == 12 ];then l_mon... 阅读全文
posted @ 2014-02-05 00:29 bowshy 阅读(1891) 评论(0) 推荐(0)