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


Groups > gnu.bash.bug > #15586

Re: quote removal issues within character class

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Andreas Schwab <schwab@linux-m68k.org>
Newsgroups gnu.bash.bug
Subject Re: quote removal issues within character class
Date Sat, 09 Nov 2019 17:14:53 +0100
Lines 24
Approved bug-bash@gnu.org
Message-ID <mailman.1119.1573316104.13325.bug-bash@gnu.org> (permalink)
References <CAH7i3Lr68CiVXLR9_HoOgQa7Vd-zyVZ+fck-0K3uQPTNSirU2Q@mail.gmail.com> <CAH7i3LrZFvJ1ELJzTdQzF1tTqhi9FDrA7xWWYWrd4RgWJs0Wtg@mail.gmail.com> <16736.1573257142@jinx.noi.kre.to> <14879.1573303743@jinx.noi.kre.to> <5DC6D12D.6040900@tlinx.org> <87lfspuiv6.fsf@igel.home>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain
X-Trace usenet.stanford.edu 1573316105 28442 209.51.188.17 (9 Nov 2019 16:15:05 GMT)
X-Complaints-To action@cs.stanford.edu
Cc Robert Elz <kre@munnari.OZ.AU>, bug-bash@gnu.org, Oğuz <oguzismailuysal@gmail.com>
To L A Walsh <bash@tlinx.org>
Envelope-to bug-bash@gnu.org
X-Virus-Scanned amavisd-new at mnet-online.de
X-Auth-Info 1Ff+J5BWiK08Bxn5Jx5rK324AhRIq0Q7qRtT0hbMiy06i6LrPOpzdnJbbYiclx+i
X-Yow Will the third world war keep ``Bosom Buddies'' off the air?
In-Reply-To <5DC6D12D.6040900@tlinx.org> (L. A. Walsh's message of "Sat, 09 Nov 2019 06:46:05 -0800")
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 2001:a60:0:28:0:1:25:1
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
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 <https://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>
X-Mailman-Original-Message-ID <87lfspuiv6.fsf@igel.home>
X-Mailman-Original-References <CAH7i3Lr68CiVXLR9_HoOgQa7Vd-zyVZ+fck-0K3uQPTNSirU2Q@mail.gmail.com> <CAH7i3LrZFvJ1ELJzTdQzF1tTqhi9FDrA7xWWYWrd4RgWJs0Wtg@mail.gmail.com> <16736.1573257142@jinx.noi.kre.to> <14879.1573303743@jinx.noi.kre.to> <5DC6D12D.6040900@tlinx.org>
Xref csiph.com gnu.bash.bug:15586

Show key headers only | View raw


On Nov 09 2019, L A Walsh wrote:

> On 2019/11/09 04:49, Robert Elz wrote:
>> There's also
>>
>> 	The special characters '.', '*', '[', and '\\'
>> 	(<period>, <asterisk>, <left-square-bracket>, and <backslash>,
>> 	respectively) shall lose their special meaning within a bracket
>> 	expression.
>>   
> ----
> Is this really what the standard says, because '\\' is not a character, but
> 2 characters.  They could use "\\" but if a backslash is between single
> quotes, it loses its special meaning.

This is C notation, not shell notation.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

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


Thread

Re: quote removal issues within character class Andreas Schwab <schwab@linux-m68k.org> - 2019-11-09 17:14 +0100

csiph-web