Code: Select all
echo %1 | awk {"print tolower($_)"}
echo %1 | gawk {"print tolower($_)"}
Output:
C:\test>awkgawk.bat ABC
C:\test>echo ABC | awk {"print tolower($_)"}
abc
C:\test>echo ABC | gawk {"print tolower($_)"}
abc
C:\test>echo abc | awk {"print toupper($_)"}
ABC
C:\test>echo abc | gawk {"print toupper($_)"}
ABC
Awk is one of the super efficient commands invented by ATT in the 1960s.
All these super efficient commands are available for windows.
Awk and gawk toupper and tolower case is more efficient and easier to use than most other case commands