upper - UDM Command
Syntax
upper variable_name
Description
The upper command forces all alphabetic characters in a specified variable or list element (variable_name) to upper case.
Parameters
Parameter | Description |
---|---|
variable_name | Variable or list element in which to force alphabetic characters to upper case. |
Example
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