gnu.bash.bug
[Top] [All Lists]

Re: inconsistent treatment of backslash-bang

Subject: Re: inconsistent treatment of backslash-bang
From: Chet Ramey <chet.ramey@xxxxxxxx>
Date: Fri, 18 Jul 2008 00:27:39 -0400
Newsgroups: gnu.bash.bug


Lawrence D'Oliveiro wrote:
Chet Ramey wrote:

Yes, this is where the semantics of history expansion clash with traditional
shell behavior. Only single quotes inhibit history expansion.

In that case, situation number 3 is producing the wrong result, since there
are no single quotes there, only a backslash.

OK, you got me.  Unquoted backslashes inhibit history expansion also.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@xxxxxxxx    http://cnswww.cns.cwru.edu/~chet/



<Prev in Thread] Current Thread [Next in Thread>