v_firstday="` date +%Y%m`01" #本月第一天
v_workdate=` jason.date $v_firstday -1` #上月最后一天
v_theyearmonth=` echo $v_workdate | cut -c 1-6` #上月的 年月201106
转载于:https://www.cnblogs.com/liuzhuqing/archive/2012/06/25/7480845.html
转载于:https://www.cnblogs.com/liuzhuqing/archive/2012/06/25/7480845.html