mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 01:40:49 +02:00
commit bash-20090423 snapshot
This commit is contained in:
+6
-6
@@ -1461,7 +1461,7 @@ bash$ echo a@{d,c,b@}e
|
||||
ade ace abe
|
||||
@end example
|
||||
|
||||
A sequence expression takes the form @code{@{@var{x}..@var{y}[@var{incr}]@}},
|
||||
A sequence expression takes the form @code{@{@var{x}..@var{y}[..@var{incr}]@}},
|
||||
where @var{x} and @var{y} are either integers or single characters,
|
||||
and @var{incr}, an optional increment, is an integer.
|
||||
When integers are supplied, the expression expands to each number between
|
||||
@@ -1767,7 +1767,7 @@ array in turn, and the expansion is the resultant list.
|
||||
@itemx $@{@var{parameter},,@var{pattern}@}
|
||||
This expansion modifies the case of alphabetic characters in @var{parameter}.
|
||||
The @var{pattern} is expanded to produce a pattern just as in
|
||||
pathname expansion.
|
||||
filename expansion.
|
||||
The @samp{^} operator converts lowercase letters matching @var{pattern}
|
||||
to uppercase; the @samp{,} operator converts matching uppercase letters
|
||||
to lowercase.
|
||||
@@ -1941,7 +1941,7 @@ an error message is printed and the command is not executed.
|
||||
If the shell option @code{nocaseglob} is enabled, the match is performed
|
||||
without regard to the case of alphabetic characters.
|
||||
|
||||
When a pattern is used for filename generation, the character @samp{.}
|
||||
When a pattern is used for filename expansion, the character @samp{.}
|
||||
at the start of a filename or immediately following a slash
|
||||
must be matched explicitly, unless the shell option @code{dotglob} is set.
|
||||
When matching a file name, the slash character must always be
|
||||
@@ -4013,7 +4013,7 @@ separately (@pxref{Command Execution Environment}), and may cause
|
||||
subshells to exit before executing all the commands in the subshell.
|
||||
|
||||
@item -f
|
||||
Disable file name generation (globbing).
|
||||
Disable filename expansion (globbing).
|
||||
|
||||
@item -h
|
||||
Locate and remember (hash) commands as they are looked up for execution.
|
||||
@@ -4396,7 +4396,7 @@ performed within @code{$@{@var{parameter}@}} expansions
|
||||
enclosed in double quotes. This option is enabled by default.
|
||||
|
||||
@item failglob
|
||||
If set, patterns which fail to match filenames during pathname expansion
|
||||
If set, patterns which fail to match filenames during filename expansion
|
||||
result in an expansion error.
|
||||
|
||||
@item force_fignore
|
||||
@@ -6039,7 +6039,7 @@ The @code{unset} builtin is used to destroy arrays.
|
||||
@code{unset} @var{name}[@var{subscript}]
|
||||
destroys the array element at index @var{subscript}.
|
||||
Care must be taken to avoid unwanted side effects caused by filename
|
||||
generation.
|
||||
expansion.
|
||||
@code{unset} @var{name}, where @var{name} is an array, removes the
|
||||
entire array. A subscript of @samp{*} or @samp{@@} also removes the
|
||||
entire array.
|
||||
|
||||
Reference in New Issue
Block a user