Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bionet!apple!gem.mps.ohio-state.edu!pacific.mps.ohio-state.edu!tut.cis.ohio-state.edu!stretch.cs.mun.edu!jeff1 From: jeff1@stretch.cs.mun.edu (Jeff Sparkes) Newsgroups: gnu.bash.bug Subject: Re: problems with ! Message-ID: <89Sep15.114226ndt.65635@stretch.cs.mun.edu> Date: 15 Sep 89 18:59:51 GMT References: <13578.8909150801@titania.warwick.ac.uk> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 16 X-Unparsable-Date: Fri, 15 Sep 89 09:10:13 NDT Rob McMahon writes: > In article <429@stretch.MUN.EDU> you write: > >bash-1.03 on a sun4 - sunos4 > > > >The first is that history expansion takes place even when ! is in quotes, > >either single or double. ... > >$ echo "!ls" > >ls": Event not found. > > This is a feature, and the same as csh. It can be useful in things like > > echo "!$" > However, notice that it says ls" not found. The quote stripping is not done correctly.