Categories
Shell

Transforming string to uppercase in a shell

Simple and easy, use tr function:

$(echo $DATUM | tr '[a-z]' '[A-Z]')

Leave a Reply

Your email address will not be published.