is there a way to convert month number to name?example: 2013-10-22 will become Oct 22I don't have the GNU date and my OS is AIX.
Convert Month Number to Month Name
shell script;ksh;date
if you only need to map a few keys to values , just use an array#!/bin/ksh## cmdline argument is e.g. 2003-10-22DATE=$1### extract day, month and year into separate variablesMONTHDAY=${DATE#*-}YEAR=${DATE%%-*}MONTH=${MONTHDAY%%-*}DAY=${MONTHDAY#*-}# an array to look up th month-names# since month-numbers start with 1, the first element in the array is invalid.set -A monthnames invalid Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec## perform the lookupMONTHNAME=${monthnames[${MONTH}]}## display <Month> <DAY>echo ${MONTHNAME} ${DAY}