glpinkston
Programmer
A previous thread on tranlating cases was helpful, but I need help assigning the tranlated string input argument to a variable (in csh).
The script line:
echo $argv[1] | tr '[:lower:]' '[:upper:]' works fine and displays the argument in uppercase.
The script line:
set orderby = $argv[1] | tr '[:lower:]' '[:upper:]'
assigns the argument to the variable, but still in lowercase.
How do I convert the argument to uppercase and assign it to the vareable?
The script line:
echo $argv[1] | tr '[:lower:]' '[:upper:]' works fine and displays the argument in uppercase.
The script line:
set orderby = $argv[1] | tr '[:lower:]' '[:upper:]'
assigns the argument to the variable, but still in lowercase.
How do I convert the argument to uppercase and assign it to the vareable?