upper - UDM Command
upper variable_name
The upper command forces all alphabetic characters in a specified variable or list element (variable_name) to upper case.
Parameter | Description |
|---|---|
variable_name | Variable or list element in which to force alphabetic characters to upper case. |
The following example assumes that a variable, myvar, exists with a beginning value of abcXYZ:
set myvar=abcXYZ
upper myvar
echo $(myvar)
The output would be:
ABCXYZ