SyntaxFix
Write A Post
Hire A Developer
Questions
If you define your variable using declare (old: typeset) then you can state the case of the value throughout the variable's use.
$ declare -u FOO=AbCxxx $ echo $FOO ABCXXX
"-l" does lc.
"-l"