Awk lowercase

In this article let’s discuss about Awk lowercase. Let’s go through the following methods without any delay.

Method 1:

echo EXAMPLE | awk -F 'd' '{ print tolower($1)}'
example		#Example first lowercased outputed

If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!

Method 2 :


echo "$a" | awk '{print tolower($0)}'

awk '{print tolower($0)}' data.csv

$0 to print everything

Hope the above solution works.

Realted Posts : How to create windows link command line