bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Chet Ramey
Subject: Re: Bash 5.0-alpha tries to expand exclamation marks in quoted strings
Date: Wed, 20 Jun 2018 22:11:52 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 6/20/18 6:29 PM, Bernhard Rosenkraenzer wrote:
> I don't think this is intentional:
> 
> address@hidden ~]$ 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    address@hidden    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]