mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-09 11:40:30 +02:00
alias expansion fix in case statements
This commit is contained in:
+5
-4
@@ -1140,10 +1140,11 @@ quotes (see
|
||||
.B PARAMETERS
|
||||
below).
|
||||
.PP
|
||||
Words of the form \fB$\fP\(aq\fIstring\fP\(aq are treated specially. The
|
||||
word expands to \fIstring\fP, with backslash-escaped characters replaced
|
||||
as specified by the ANSI C standard. Backslash escape sequences, if
|
||||
present, are decoded as follows:
|
||||
Character sequences of the form \fB$\fP\(aq\fIstring\fP\(aq are treated
|
||||
as a special variant of single quotes.
|
||||
The sequence expands to \fIstring\fP, with backslash-escaped characters
|
||||
in \fIstring\fP replaced as specified by the ANSI C standard.
|
||||
Backslash escape sequences, if present, are decoded as follows:
|
||||
.RS
|
||||
.PD 0
|
||||
.TP
|
||||
|
||||
+5
-4
@@ -475,10 +475,11 @@ when in double quotes (@pxref{Shell Parameter Expansion}).
|
||||
@subsubsection ANSI-C Quoting
|
||||
@cindex quoting, ANSI
|
||||
|
||||
Words of the form $'@var{string}' are treated specially. The
|
||||
word expands to @var{string}, with backslash-escaped characters replaced
|
||||
as specified by the ANSI C standard. Backslash escape sequences, if
|
||||
present, are decoded as follows:
|
||||
Character sequences of the form $'@var{string}' are treated as a special
|
||||
kind of single quotes.
|
||||
The sequence expands to @var{string}, with backslash-escaped characters
|
||||
in @var{string} replaced as specified by the ANSI C standard.
|
||||
Backslash escape sequences, if present, are decoded as follows:
|
||||
|
||||
@table @code
|
||||
@item \a
|
||||
|
||||
Reference in New Issue
Block a user