ksh 93u+ here-document error
Issue
- The following command works fine with ksh version 93t+ (on RHEL 6.4) but causes a "here-document not contained within command substitution" error on 93u+ (RHEL 6.5)
cat <<EOF | tail -$((5-4))
alpha
bravo
charlie
EOF
Environment
- Red Hat Enterprise Linux 6.4
- ksh-20120801-10.el6_5.4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
