awk Lang: sh Copy 1# upper case the first letter 2awk '{for(i=1;i<=NF;i++){ $i=toupper(substr($i,1,1)) substr($i,2) }}1' file