tcsh history file fails to save commands with "!" properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tcsh (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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.
Is this symptom still reproducible in 8.10 RC or later?