convert to uppercase awk code example
Example 1: convert to uppercase command awk
echo example | awk -F 'd' '{ print toupper($1)}'
EXAMPLE #Example first upppercased outputed
Example 2: awk lowercase
echo EXAMPLE | awk -F 'd' '{ print tolower($1)}'
example #Example first lowercased outputed