MODULO="modulo" mayuscula=$(echo $MODULO | awk ' { out = out" "toupper(substr($0,1,1))substr($0,2) } END{ print substr(out,2) } ') echo $mayuscula
MODULO="modulo" mayuscula=$(echo $MODULO | awk ' { out = out" "toupper(substr($0,1,1))substr($0,2) } END{ print substr(out,2) } ') echo $mayuscula