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


Groups > gnu.bash.bug > #14262

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

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Bash 5.0-alpha tries to expand exclamation marks in quoted strings
Date 2018-06-20 22:11 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.2332.1529547136.1292.bug-bash@gnu.org> (permalink)
References <c58-5b2ad580-1-4fe57e00@7673727>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web