tcsh: command with backslash prefix in backquotes returns different result comapred to non-backslash command.
Issue
- tcsh: command with backslash prefix in backquotes returns different result comapred to non-backslash command.
Example
- Without backslash
# set myver=`echo 1 2 3`
# echo ${myver[1]}
1
- With backslash
# set myver=`\echo 1 2 3`
# echo ${myver[1]}
1 2 3
Environment
- Red Hat Enterprise Linux 6
- tcsh-6.17-35.el6.x86_64
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.
