Public bug reported:

Binary package hint: tcsh

tcsh fails to save commands with "!" in the .history file properly.
Since "!" is a special character for tcsh, it needs to be escaped by a
backslash character. Auto-expansion automagically adds the backslash.
However, this is not the case for the .history file.

Steps to reproduce:
1> Enter a command with "!" in it.
$ ls this_blows_up\!
2> Save the entered command by either exiting tcsh or entering "history -S"
3> Check the contents of .history. The command is now saved without the 
backslash. Example:
...
#+1189745605
ls this_blows_up!
#+1189745608
history -S

Since I use the history function of tcsh fairly extensively (biggest
reason for tcsh over bash), this is somewhat annoying.

** Affects: tcsh (Ubuntu)
     Importance: Undecided
         Status: New

-- 
tcsh history file fails to save commands with "!" properly
https://bugs.launchpad.net/bugs/139537
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to