>>511
そこまでできてるなら、echoの直前に

case $mon in Jan)mon=01;;Feb)mon=02;;Mar)mon=03;;Apr)mon=04;;..省略..;;esac

の行を入れれば sedも不要。全部シェルでできる。