摘要: #!/bin/bashmonth_length(){monthD="31 28 31 30 31 30 31 31 30 31 30 31"echo "$monthD"|awk '{print $"'${1}'"}'}echo "INPUT MONTH:"read monthechodays_in=$(month_length $month)echo "The $month month days ... 阅读全文
posted @ 2010-05-20 10:41 waynechen 阅读(133) 评论(0) 推荐(1) 编辑