#!/bin/bashwhile [ true ]do read -p "请输入年份和月份,用空格分割,比如 2015 1,输入end结束 :" year mon if [ "$year" == "end" ];then exit;fi cal $mon $yeardone