tcsh: Quoted backslashes gets repeated when taken from history

Solution Unverified - Updated -

Issue

  • If a command has a backslash within quotes, and that command is brought back with e.g. "up-history", the backslash is doubled.
$ echo '\n'
$ <Up> (or ctrl-p)
$ echo '\\n'

Environment

  • 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.

Current Customers and Partners

Log in for full access

Log In