awk Converting string to upper case


Example

The function toupper will convert a string to upper case (capital letters). For example:

BEGIN {
    greeting = "hello"
    loud_greeting = toupper(greeting)
    print loud_greeting
}

This code will output "HELLO" when run.