ksh 'typeset -xu' and 'typeset -xl' failing to change word case

Solution Verified - Updated -

Issue

In Red Hat Enterprise Linux (RHEL) 6 starting with ksh-20120801-10.el6 using typeset -xl to lower case a variable or typeset -xu to uppercase a variable fails

# typeset -xu upper=blah
# echo $upper
blah

# typeset -xl lower=BLAH
# echo $lower
BLAH

Environment

  • Red Hat Enterprise Linux (RHEL) 6
    • ksh-20120801-10.el6 through ksh-20120801-10.el6 (inclusive)
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content