Answers for "awk convert first character to lowercase"

0

awk first upper

echo example | awk '{$1=toupper(substr($1,0,1))substr($1,2)}1'
Example		#Example first upppercased outputed
Posted by: Guest on November-26-2020
0

awk convert first character to lowercase

echo EXAMPLE | awk '{$1=tolower(substr($1,0,1))substr($1,2)}1'
eXAMPLE		#Example first lowercased outputed
Posted by: Guest on November-26-2020
0

awk convert first character to lowercase

echo EXAMPLE | awk '{$1=tolower(substr($1,0,1))substr($1,2)}1'
eXAMLPLE		#Example first lowercased outputed
Posted by: Guest on November-26-2020

Code answers related to "awk convert first character to lowercase"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language