4.25. pdksh


The Public Domain Korn SHell implements the ksh-88 programming language for both interactive and shell script use.
  • pdksh — a new package in Red Hat Enterprise Linux 5.4 — does not recognize the keyword source in scripts. However, the /etc/profile.d/kde.sh script uses the source keyword in the line source /etc/sysconfig/prelink. Consequently, if a user is using pdksh as their shell, and KDE is installed, the following error message will be returned in login shells:
    ksh: /etc/profile.d/kde.sh[7]: source: not found
    
    To work around this issue, change the
    source /etc/sysconfig/prelink
    
    line in the /etc/profile.d/kde.sh script to
    . /etc/sysconfig/prelink
    
    The keyword . is an alias for source in all Bourne compatible shells including bash, AT&T ksh, and pdksh.
    This issue will be resolved in an upcoming update to Red Hat Enterprise Linux 5.4. (BZ#510374)
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.