mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 09:50:50 +02:00
commit bash-20090423 snapshot
This commit is contained in:
+8
-8
@@ -2004,7 +2004,7 @@ prompt.
|
||||
.TP
|
||||
.B PROMPT_DIRTRIM
|
||||
If set to a number greater than zero, the value is used as the number of
|
||||
trailing directory components to retain when expanding the \fB\ew\fB and
|
||||
trailing directory components to retain when expanding the \fB\ew\fP and
|
||||
\fB\eW\fP prompt string escapes (see
|
||||
.SM
|
||||
.B PROMPTING
|
||||
@@ -2240,8 +2240,8 @@ The
|
||||
.B unset
|
||||
builtin is used to destroy arrays. \fBunset\fP \fIname\fP[\fIsubscript\fP]
|
||||
destroys the array element at index \fIsubscript\fP.
|
||||
Care must be taken to avoid unwanted side effects caused by filename
|
||||
generation.
|
||||
Care must be taken to avoid unwanted side effects caused by pathname
|
||||
expansion.
|
||||
\fBunset\fP \fIname\fP, where \fIname\fP is an array, or
|
||||
\fBunset\fP \fIname\fP[\fIsubscript\fP], where
|
||||
\fIsubscript\fP is \fB*\fP or \fB@\fP, removes the entire array.
|
||||
@@ -3021,7 +3021,7 @@ The special pattern characters have the following meanings:
|
||||
.B *
|
||||
Matches any string, including the null string.
|
||||
When the \fBglobstar\fP shell option is enabled, and \fB*\fP is used in
|
||||
a filename expansion context, two adjacent \fB*\fPs used as a single
|
||||
a pathname expansion context, two adjacent \fB*\fPs used as a single
|
||||
pattern will match all files and zero or more directories and
|
||||
subdirectories.
|
||||
If followed by a \fB/\fP, two adjacent \fB*\fPs will match only directories
|
||||
@@ -5708,7 +5708,7 @@ variable
|
||||
.B FIGNORE
|
||||
is used to filter the matches.
|
||||
.PP
|
||||
Any completions specified by a filename expansion pattern to the
|
||||
Any completions specified by a pathname expansion pattern to the
|
||||
\fB\-G\fP option are generated next.
|
||||
The words generated by the pattern need not match the word
|
||||
being completed.
|
||||
@@ -6697,7 +6697,7 @@ Names of all shell variables. May also be specified as \fB\-v\fP.
|
||||
.RE
|
||||
.TP 8
|
||||
\fB\-G\fP \fIglobpat\fP
|
||||
The filename expansion pattern \fIglobpat\fP is expanded to generate
|
||||
The pathname expansion pattern \fIglobpat\fP is expanded to generate
|
||||
the possible completions.
|
||||
.TP 8
|
||||
\fB\-W\fP \fIwordlist\fP
|
||||
@@ -6722,7 +6722,7 @@ of the
|
||||
array variable.
|
||||
.TP 8
|
||||
\fB\-X\fP \fIfilterpat\fP
|
||||
\fIfilterpat\fP is a pattern as used for filename expansion.
|
||||
\fIfilterpat\fP is a pattern as used for pathname expansion.
|
||||
It is applied to the list of possible completions generated by the
|
||||
preceding options and arguments, and each completion matching
|
||||
\fIfilterpat\fP is removed from the list.
|
||||
@@ -8570,7 +8570,7 @@ above for a description of \fBFIGNORE\fP.
|
||||
This option is enabled by default.
|
||||
.TP 8
|
||||
.B globstar
|
||||
If set, the pattern \fB**\fP used in a filename expansion context will
|
||||
If set, the pattern \fB**\fP used in a pathname expansion context will
|
||||
match a files and zero or more directories and subdirectories.
|
||||
If the pattern is followed by a \fB/\fP, only directories and
|
||||
subdirectories match.
|
||||
|
||||
Reference in New Issue
Block a user