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

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
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 Wed, 20 Jun 2018 22:11:52 -0400
Organization ITS, Case Western Reserve University
Lines 16
Approved bug-bash@gnu.org
Message-ID <mailman.2332.1529547136.1292.bug-bash@gnu.org> (permalink)
References <c58-5b2ad580-1-4fe57e00@7673727>
Reply-To chet.ramey@case.edu
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1529547137 594 208.118.235.17 (21 Jun 2018 02:12:17 GMT)
X-Complaints-To action@cs.stanford.edu
Cc chet.ramey@case.edu
To Bernhard Rosenkraenzer <bero@lindev.ch>, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:cc:subject:to:references:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=lIAePFjCEL7tLzTa3id8b2uyGlqxemo7JhCqyTKceuE=; b=gT+1rf+qFmqeVDHBOkyqFhSVyYg0kVNwALX/SJv5KkL2fd1VZutKq3VW3j7QdeSpL1 vyCUhNWZR2B5TZwG3K+CZdiPiuAPV+xyxxjoYxKydIAN6JRGdRjNPuLfqsA4q4Wm6UYm yzBH+dwWpVC94PQVsYxK5BS9GG6On/+VXMDkXsJdDuQeHbOf/IuGyW6S3ARGBxZrCEMK dw1FNQKaNUrv/X3m7k9PgD0G1bPHKqMs93TJNX+NDOYulTYerZDkwDGL6xby8qyHJxJ2 8NXZcwntLt8p+qdbpqit7Tesy3IHgMa4oL3A1M0BFR+2PfX9WCnjdv36bYVuZ+PMfs0u kIBA==
X-Gm-Message-State APt69E1s6pJ3d46gtlsSPKW/gqvpPbMfs4Gm6XdLN/vTwFD1AEVwyHrJ fFmpffVAO91iPS/MLh25+PNOu3aexYUJkqKuIkmTySDLEZr8glZyAuICddmALQGL169Au/UBJWM LMhDjEFO7N+k=
X-Received by 2002:a24:d309:: with SMTP id n9-v6mr3867176itg.6.1529547129032; Wed, 20 Jun 2018 19:12:09 -0700 (PDT)
X-Google-Smtp-Source AAOMgpcZco29Ct/OYs2uptRyJQqaOX4/Fux2JQcSLx/apKnDr1tN527N03lzwZZHaMgWQsWL9gcNvQ==
X-Received by 2002:a24:d309:: with SMTP id n9-v6mr3867171itg.6.1529547128860; Wed, 20 Jun 2018 19:12:08 -0700 (PDT)
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
In-Reply-To <c58-5b2ad580-1-4fe57e00@7673727>
Content-Language en-US
X-Junkmail-Status score=7/90, host=mpv2-2015.case.edu
X-Junkmail-PrAS-Raw score=7/90, refid=2.7.2:2018.6.21.5416:17:7.944, ip=, rules=__YOUTUBE_RCVD, __HAS_REPLYTO, __HAS_CC_HDR, __SUBJ_REPLY, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __TO_MALFORMED_2, __TO_NAME, __TO_NAME_DIFF_FROM_ACC, __REFERENCES, __HAS_FROM, FROM_EDU_TLD, __HAS_MSGID, __SANE_MSGID, DATE_TZ_NA, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __REPLYTO_SAMEAS_FROM_ADDY, __REPLYTO_SAMEAS_FROM_ACC, __FROM_DOMAIN_IN_ANY_CC1, __FROM_DOMAIN_IN_ANY_CC2, __REPLYTO_SAMEAS_FROM_DOMAIN, __ANY_URI, __URI_WITH_PATH, __URI_NO_WWW, __CP_URI_IN_BODY, __FRAUD_MONEY_CURRENCY_DOLLAR, __SUBJ_ALPHA_NEGATE, __URI_IN_BODY, __URI_NOT_IMG, __FORWARDED_MSG, __NO_HTML_TAG_RAW, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_500_599, __MIME_TEXT_P1, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, __FRAUD_MONEY_CURRENCY, BODY_SIZE_5000_LESS, IN_REP_TO, MSG_THREAD, [TRUNCATED], so=2010-03-03 19:42:08, dmn=2016-08-03-0138
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy]
X-Received-From 129.22.103.227
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14262

Show key headers only | 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