Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15586
| From | Andreas Schwab <schwab@linux-m68k.org> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: quote removal issues within character class |
| Date | 2019-11-09 17:14 +0100 |
| Message-ID | <mailman.1119.1573316104.13325.bug-bash@gnu.org> (permalink) |
| References | (1 earlier) <CAH7i3LrZFvJ1ELJzTdQzF1tTqhi9FDrA7xWWYWrd4RgWJs0Wtg@mail.gmail.com> <16736.1573257142@jinx.noi.kre.to> <14879.1573303743@jinx.noi.kre.to> <5DC6D12D.6040900@tlinx.org> <87lfspuiv6.fsf@igel.home> |
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
Re: quote removal issues within character class Andreas Schwab <schwab@linux-m68k.org> - 2019-11-09 17:14 +0100
csiph-web