Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!ginosko!uunet!garfield!stretch!jeff1 From: jeff1@stretch.MUN.EDU (Jeff Sparkes) Newsgroups: gnu.bash.bug Subject: problems with ! Message-ID: <429@stretch.MUN.EDU> Date: 14 Sep 89 15:42:39 GMT Organization: CS Dept., Memorial U. of Newfoundland, St. John's Lines: 21 bash-1.03 on a sun4 - sunos4 I've run into two problems with using ! in non-history mode. The first is that history expansion takes place even when ! is in quotes, either single or double. The second occurs when I have a filename containing !. If I escape the !, ~ expansion no longer occurs. $ ls xx xx not found $ echo "!ls" ls": Event not found. $ ls ~/lisp/pp.el /users/cs/staff/jeff1/lisp/pp.el $ echo ~/lisp/!myinit.el myinit.el: Event not found. $ echo ~/lisp/\!myinit.el ~/lisp/!myinit.el -- Jeff Sparkes jeff1@garfield.mun.edu || uunet!garfield!jeff1