Generation

linuxSat, 12 Nov 2022

Get title case of a string

echo "test" | awk '{for (i=1; i<=NF; i++) { $i = toupper(substr($i,1,1)) substr($i,2) }} 1'

Want to kickstart your project?Use the new AI Studio to create your code