Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14262 > unrolled thread

Re: Bash 5.0-alpha tries to expand exclamation marks in quoted strings

Started byChet Ramey <chet.ramey@case.edu>
First post2018-06-20 22:11 -0400
Last post2018-06-20 22:11 -0400
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Bash 5.0-alpha tries to expand exclamation marks in quoted strings Chet Ramey <chet.ramey@case.edu> - 2018-06-20 22:11 -0400

#14262 — Re: Bash 5.0-alpha tries to expand exclamation marks in quoted strings

FromChet Ramey <chet.ramey@case.edu>
Date2018-06-20 22:11 -0400
SubjectRe: Bash 5.0-alpha tries to expand exclamation marks in quoted strings
Message-ID<mailman.2332.1529547136.1292.bug-bash@gnu.org>
On 6/20/18 6:29 PM, Bernhard Rosenkraenzer wrote:
> I don't think this is intentional:
> 
> [bero@c64 ~]$ echo "test!!"
> echo "testecho "testecho "test!"""
> testecho testecho test!

It's impossible to say whether or not this is correct without knowing
what's in your history. Double quotes don't inhibit history expansion,
and never have.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web