On 8/7/12 8:14 AM, Greg Wooledge wrote: > On Mon, Aug 06, 2012 at 09:14:11PM -0400, Chet Ramey wrote: >>> [6]$ ls "hello world!" >>> bash: !": event not found >> >> Thanks for the report. This has already been changed for the next version. > > Ah, so you've changed your stance a decade after > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=135402
Not completely. The change is that a double quote following the history expansion character inhibits history expansion in a double-quoted string. Nonsense like !"" will still attempt history expansion. The treatment of "\!" has not changed. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/