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, 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