Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

awk uppercase first character

echo example | awk '{$1=toupper(substr($1,0,1))substr($1,2)}1'
Example		#Example first upppercased outputed
 
PREVIOUS NEXT
Tagged: #awk #uppercase #character
ADD COMMENT
Topic
Name
4+6 =