mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-11 22:20:49 +02:00
commit bash-20080703 snapshot
This commit is contained in:
+354
-275
@@ -1,10 +1,10 @@
|
||||
This is bashref.info, produced by makeinfo version 4.11 from
|
||||
/Users/chet/src/bash/src/doc/bashref.texi.
|
||||
/usr/homes/chet/src/bash/src/doc/bashref.texi.
|
||||
|
||||
This text is a brief description of the features that are present in
|
||||
the Bash shell (version 4.0, 25 May 2008).
|
||||
the Bash shell (version 4.0, 29 June 2008).
|
||||
|
||||
This is Edition 4.0, last updated 25 May 2008, of `The GNU Bash
|
||||
This is Edition 4.0, last updated 29 June 2008, of `The GNU Bash
|
||||
Reference Manual', for `Bash', Version 4.0.
|
||||
|
||||
Copyright (C) 1988-2007 Free Software Foundation, Inc.
|
||||
@@ -38,9 +38,9 @@ Bash Features
|
||||
*************
|
||||
|
||||
This text is a brief description of the features that are present in
|
||||
the Bash shell (version 4.0, 25 May 2008).
|
||||
the Bash shell (version 4.0, 29 June 2008).
|
||||
|
||||
This is Edition 4.0, last updated 25 May 2008, of `The GNU Bash
|
||||
This is Edition 4.0, last updated 29 June 2008, of `The GNU Bash
|
||||
Reference Manual', for `Bash', Version 4.0.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
@@ -1064,8 +1064,10 @@ variable's current value, which is also evaluated. When `+=' is
|
||||
applied to an array variable using compound assignment (*note
|
||||
Arrays::), the variable's value is not unset (as it is when using `='),
|
||||
and new values are appended to the array beginning at one greater than
|
||||
the array's maximum index. When applied to a string-valued variable,
|
||||
VALUE is expanded and appended to the variable's value.
|
||||
the array's maximum index (for indexed arrays), or added as additional
|
||||
key-value pairs in an associative array. When applied to a
|
||||
string-valued variable, VALUE is expanded and appended to the
|
||||
variable's value.
|
||||
|
||||
|
||||
File: bashref.info, Node: Positional Parameters, Next: Special Parameters, Up: Shell Parameters
|
||||
@@ -1404,12 +1406,15 @@ if the colon is omitted, the operator tests only for existence.
|
||||
If OFFSET evaluates to a number less than zero, the value is used
|
||||
as an offset from the end of the value of PARAMETER. If PARAMETER
|
||||
is `@', the result is LENGTH positional parameters beginning at
|
||||
OFFSET. If PARAMETER is an array name indexed by `@' or `*', the
|
||||
result is the LENGTH members of the array beginning with
|
||||
`${PARAMETER[OFFSET]}'. A negative OFFSET is taken relative to
|
||||
one greater than the maximum index of the specified array. Note
|
||||
that a negative offset must be separated from the colon by at least
|
||||
one space to avoid being confused with the `:-' expansion.
|
||||
OFFSET. If PARAMETER is an indexed array name subscripted by `@'
|
||||
or `*', the result is the LENGTH members of the array beginning
|
||||
with `${PARAMETER[OFFSET]}'. A negative OFFSET is taken relative
|
||||
to one greater than the maximum index of the specified array.
|
||||
Substring expansion applied to an associative array produces
|
||||
undefined results.
|
||||
|
||||
Note that a negative offset must be separated from the colon by at
|
||||
least one space to avoid being confused with the `:-' expansion.
|
||||
Substring indexing is zero-based unless the positional parameters
|
||||
are used, in which case the indexing starts at 1 by default. If
|
||||
OFFSET is 0, and the positional parameters are used, `$@' is
|
||||
@@ -1482,6 +1487,25 @@ if the colon is omitted, the operator tests only for existence.
|
||||
member of the array in turn, and the expansion is the resultant
|
||||
list.
|
||||
|
||||
`${PARAMETER^PATTERN}'
|
||||
`${PARAMETER^^PATTERN}'
|
||||
`${PARAMETER,PATTERN}'
|
||||
`${PARAMETER,,PATTERN}'
|
||||
This expansion modifies the case of alphabetic characters in
|
||||
PARAMETER. The PATTERN is expanded to produce a pattern just as in
|
||||
pathname expansion. The `^' operator converts lowercase letters
|
||||
matching PATTERN to uppercase; the `,' operator converts matching
|
||||
uppercase letters to lowercase. The `^^' and `,,' expansions
|
||||
convert each matched character in the expanded value; the `^' and
|
||||
`,' expansions match and convert only the first character. If
|
||||
PATTERN is omitted, it is treated like a `?', which matches every
|
||||
character. If PARAMETER is `@' or `*', the case modification
|
||||
operation is applied to each positional parameter in turn, and the
|
||||
expansion is the resultant list. If PARAMETER is an array
|
||||
variable subscripted with `@' or `*', the case modification
|
||||
operation is applied to each member of the array in turn, and the
|
||||
expansion is the resultant list.
|
||||
|
||||
|
||||
|
||||
File: bashref.info, Node: Command Substitution, Next: Arithmetic Expansion, Prev: Shell Parameter Expansion, Up: Shell Expansions
|
||||
@@ -2506,19 +2530,20 @@ standard.
|
||||
current directory or an invalid option is supplied.
|
||||
|
||||
`readonly'
|
||||
readonly [-apf] [NAME[=VALUE]] ...
|
||||
readonly [-aApf] [NAME[=VALUE]] ...
|
||||
Mark each NAME as readonly. The values of these names may not be
|
||||
changed by subsequent assignment. If the `-f' option is supplied,
|
||||
each NAME refers to a shell function. The `-a' option means each
|
||||
NAME refers to an array variable. If no NAME arguments are given,
|
||||
or if the `-p' option is supplied, a list of all readonly names is
|
||||
printed. The `-p' option causes output to be displayed in a
|
||||
format that may be reused as input. If a variable name is
|
||||
followed by =VALUE, the value of the variable is set to VALUE.
|
||||
The return status is zero unless an invalid option is supplied,
|
||||
one of the NAME arguments is not a valid shell variable or
|
||||
function name, or the `-f' option is supplied with a name that is
|
||||
not a shell function.
|
||||
NAME refers to an indexed array variable; the `-A' option means
|
||||
each NAME refers to an associative array variable. If no NAME
|
||||
arguments are given, or if the `-p' option is supplied, a list of
|
||||
all readonly names is printed. The `-p' option causes output to
|
||||
be displayed in a format that may be reused as input. If a
|
||||
variable name is followed by =VALUE, the value of the variable is
|
||||
set to VALUE. The return status is zero unless an invalid option
|
||||
is supplied, one of the NAME arguments is not a valid shell
|
||||
variable or function name, or the `-f' option is supplied with a
|
||||
name that is not a shell function.
|
||||
|
||||
`return'
|
||||
return [N]
|
||||
@@ -2827,7 +2852,7 @@ POSIX standard.
|
||||
non-zero if not.
|
||||
|
||||
`declare'
|
||||
declare [-afFirtx] [-p] [NAME[=VALUE] ...]
|
||||
declare [-aAfFirtx] [-p] [NAME[=VALUE] ...]
|
||||
|
||||
Declare variables and give them attributes. If no NAMEs are
|
||||
given, then display the values of variables instead.
|
||||
@@ -2852,7 +2877,10 @@ POSIX standard.
|
||||
attributes or to give variables attributes:
|
||||
|
||||
`-a'
|
||||
Each NAME is an array variable (*note Arrays::).
|
||||
Each NAME is an indexed array variable (*note Arrays::).
|
||||
|
||||
`-A'
|
||||
Each NAME is an associative array variable (*note Arrays::).
|
||||
|
||||
`-f'
|
||||
Use function names only.
|
||||
@@ -3138,8 +3166,10 @@ POSIX standard.
|
||||
Cause `read' to time out and return failure if a complete
|
||||
line of input is not read within TIMEOUT seconds. TIMEOUT
|
||||
may be a decimal number with a fractional portion following
|
||||
the decimal point. This option has no effect if `read' is
|
||||
not reading input from the terminal or a pipe.
|
||||
the decimal point. This option is only effective if `read'
|
||||
is reading input from a terminal, pipe, or other special
|
||||
file; it has no effect when reading from regular files. The
|
||||
exit status is greater than 128 if the timeout is exceeded.
|
||||
|
||||
`-u FD'
|
||||
Read input from file descriptor FD.
|
||||
@@ -3937,6 +3967,13 @@ Variables::).
|
||||
differs from `$$' under certain circumstances, such as subshells
|
||||
that do not require Bash to be re-initialized.
|
||||
|
||||
`BASH_ALIASES'
|
||||
An associative array variable whose members correspond to the
|
||||
internal list of aliases as maintained by the `alias' builtin
|
||||
(*note Bourne Shell Builtins::). Elements added to this array
|
||||
appear in the alias list; unsetting array elements cause aliases
|
||||
to be removed from the alias list.
|
||||
|
||||
`BASH_ARGC'
|
||||
An array variable whose values are the number of parameters in each
|
||||
frame of the current bash execution call stack. The number of
|
||||
@@ -3957,6 +3994,13 @@ Variables::).
|
||||
The Shopt Builtin:: for a description of the `extdebug' option to
|
||||
the `shopt' builtin).
|
||||
|
||||
`BASH_CMDS'
|
||||
An associative array variable whose members correspond to the
|
||||
internal hash table of commands as maintained by the `hash' builtin
|
||||
(*note Bourne Shell Builtins::). Elements added to this array
|
||||
appear in the hash table; unsetting array elements cause commands
|
||||
to be removed from the hash table.
|
||||
|
||||
`BASH_COMMAND'
|
||||
The command currently being executed or about to be executed,
|
||||
unless the shell is executing a command as the result of a trap,
|
||||
@@ -4321,6 +4365,12 @@ Variables::).
|
||||
If set, the value is interpreted as a command to execute before
|
||||
the printing of each primary prompt (`$PS1').
|
||||
|
||||
`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 `\w' and `\W' prompt string escapes (*note Printing a
|
||||
Prompt::). Characters removed are replaced with an ellipsis.
|
||||
|
||||
`PS3'
|
||||
The value of this variable is used as the prompt for the `select'
|
||||
command. If this variable is not set, the `select' command
|
||||
@@ -5125,14 +5175,16 @@ File: bashref.info, Node: Arrays, Next: The Directory Stack, Prev: Aliases,
|
||||
6.7 Arrays
|
||||
==========
|
||||
|
||||
Bash provides one-dimensional array variables. Any variable may be
|
||||
used as an array; the `declare' builtin will explicitly declare an
|
||||
array. There is no maximum limit on the size of an array, nor any
|
||||
requirement that members be indexed or assigned contiguously. Arrays
|
||||
are zero-based.
|
||||
Bash provides one-dimensional indexed and associative array variables.
|
||||
Any variable may be used as an indexed array; the `declare' builtin
|
||||
will explicitly declare an array. There is no maximum limit on the
|
||||
size of an array, nor any requirement that members be indexed or
|
||||
assigned contiguously. Indexed arrays are referenced using integers
|
||||
(including arithmetic expressions (*note Shell Arithmetic::) and are
|
||||
zero-based; associative arrays use arbitrary strings.
|
||||
|
||||
An array is created automatically if any variable is assigned to
|
||||
using the syntax
|
||||
An indexed array is created automatically if any variable is
|
||||
assigned to using the syntax
|
||||
name[SUBSCRIPT]=VALUE
|
||||
|
||||
The SUBSCRIPT is treated as an arithmetic expression that must evaluate
|
||||
@@ -5141,18 +5193,28 @@ array, use
|
||||
declare -a NAME
|
||||
The syntax
|
||||
declare -a NAME[SUBSCRIPT]
|
||||
is also accepted; the SUBSCRIPT is ignored. Attributes may be
|
||||
specified for an array variable using the `declare' and `readonly'
|
||||
builtins. Each attribute applies to all members of an array.
|
||||
is also accepted; the SUBSCRIPT is ignored.
|
||||
|
||||
Associative arrays are created using
|
||||
declare -A NAME.
|
||||
|
||||
Attributes may be specified for an array variable using the
|
||||
`declare' and `readonly' builtins. Each attribute applies to all
|
||||
members of an array.
|
||||
|
||||
Arrays are assigned to using compound assignments of the form
|
||||
name=(value1 ... valueN)
|
||||
where each VALUE is of the form `[[SUBSCRIPT]=]'STRING. If the
|
||||
optional subscript is supplied, that index is assigned to; otherwise
|
||||
the index of the element assigned is the last index assigned to by the
|
||||
statement plus one. Indexing starts at zero. This syntax is also
|
||||
accepted by the `declare' builtin. Individual array elements may be
|
||||
assigned to using the `name['SUBSCRIPT`]='VALUE syntax introduced above.
|
||||
where each VALUE is of the form `[SUBSCRIPT]='STRING. Indexed array
|
||||
assignments do not require the bracket and subscript. When assigning
|
||||
to indexed arrays, if the optional subscript is supplied, that index is
|
||||
assigned to; otherwise the index of the element assigned is the last
|
||||
index assigned to by the statement plus one. Indexing starts at zero.
|
||||
|
||||
When assigning to an associative array, the subscript is required.
|
||||
|
||||
This syntax is also accepted by the `declare' builtin. Individual
|
||||
array elements may be assigned to using the `name['SUBSCRIPT`]='VALUE
|
||||
syntax introduced above.
|
||||
|
||||
Any element of an array may be referenced using
|
||||
`${name['SUBSCRIPT`]}'. The braces are required to avoid conflicts
|
||||
@@ -5171,7 +5233,7 @@ expansion of the special parameters `@' and `*'.
|
||||
`${#name['SUBSCRIPT`]}' expands to the length of `${name['SUBSCRIPT`]}'.
|
||||
If SUBSCRIPT is `@' or `*', the expansion is the number of elements in
|
||||
the array. Referencing an array variable without a subscript is
|
||||
equivalent to referencing element zero.
|
||||
equivalent to referencing with a subscript of 0.
|
||||
|
||||
The `unset' builtin is used to destroy arrays. `unset'
|
||||
NAME[SUBSCRIPT] destroys the array element at index SUBSCRIPT. Care
|
||||
@@ -5180,11 +5242,12 @@ generation. `unset' NAME, where NAME is an array, removes the entire
|
||||
array. A subscript of `*' or `@' also removes the entire array.
|
||||
|
||||
The `declare', `local', and `readonly' builtins each accept a `-a'
|
||||
option to specify an array. The `read' builtin accepts a `-a' option
|
||||
to assign a list of words read from the standard input to an array, and
|
||||
can read values from the standard input into individual array elements.
|
||||
The `set' and `declare' builtins display array values in a way that
|
||||
allows them to be reused as input.
|
||||
option to specify an indexed array and a `-A' option to specify an
|
||||
associative array. The `read' builtin accepts a `-a' option to assign
|
||||
a list of words read from the standard input to an array, and can read
|
||||
values from the standard input into individual array elements. The
|
||||
`set' and `declare' builtins display array values in a way that allows
|
||||
them to be reused as input.
|
||||
|
||||
|
||||
File: bashref.info, Node: The Directory Stack, Next: Printing a Prompt, Prev: Arrays, Up: Bash Features
|
||||
@@ -5364,7 +5427,7 @@ which can appear in the prompt variables:
|
||||
|
||||
`\w'
|
||||
The current working directory, with `$HOME' abbreviated with a
|
||||
tilde.
|
||||
tilde (uses the `$PROMPT_DIRTRIM' variable).
|
||||
|
||||
`\W'
|
||||
The basename of `$PWD', with `$HOME' abbreviated with a tilde.
|
||||
@@ -5619,6 +5682,9 @@ startup files.
|
||||
interpret any arguments to `echo' as options. Each argument is
|
||||
displayed, after escape characters are converted.
|
||||
|
||||
42. The `ulimit' builtin uses a block size of 512 bytes for the `-c'
|
||||
and `-f' options.
|
||||
|
||||
|
||||
There is other POSIX behavior that Bash does not implement by
|
||||
default even when in POSIX mode. Specifically:
|
||||
@@ -5705,10 +5771,11 @@ character `%' introduces a job name.
|
||||
`%+' refer to the shell's notion of the current job, which is the last
|
||||
job stopped while it was in the foreground or started in the background.
|
||||
A single `%' (with no accompanying job specification) also refers to
|
||||
the current job. The previous job may be referenced using `%-'. In
|
||||
output pertaining to jobs (e.g., the output of the `jobs' command), the
|
||||
current job is always flagged with a `+', and the previous job with a
|
||||
`-'.
|
||||
the current job. The previous job may be referenced using `%-'. If
|
||||
there is only a single job, `%+' and `%-' can both be used to refer to
|
||||
that job. In output pertaining to jobs (e.g., the output of the `jobs'
|
||||
command), the current job is always flagged with a `+', and the
|
||||
previous job with a `-'.
|
||||
|
||||
A job may also be referred to using a prefix of the name used to
|
||||
start it, or using a substring that appears in its command line. For
|
||||
@@ -5833,8 +5900,8 @@ File: bashref.info, Node: Job Control Builtins, Next: Job Control Variables,
|
||||
`suspend'
|
||||
suspend [-f]
|
||||
Suspend the execution of this shell until it receives a `SIGCONT'
|
||||
signal. The `-f' option means to suspend even if the shell is a
|
||||
login shell.
|
||||
signal. A login shell cannot be suspended; the `-f' option can be
|
||||
used to override this and force the suspension.
|
||||
|
||||
|
||||
When job control is not active, the `kill' and `wait' builtins do
|
||||
@@ -8270,6 +8337,15 @@ does not provide the necessary support.
|
||||
Include `csh'-like brace expansion ( `b{a,b}c' ==> `bac bbc' ).
|
||||
See *note Brace Expansion::, for a complete description.
|
||||
|
||||
`--enable-casemod-attributes'
|
||||
Include support for case-modifying attributes in the `declare'
|
||||
builtin and assignment statements. Variables with the UPPERCASE
|
||||
attribute, for example, will have their values converted to
|
||||
uppercase upon assignment.
|
||||
|
||||
`--enable-casemod-expansion'
|
||||
Include support for case-modifying word expansions.
|
||||
|
||||
`--enable-command-timing'
|
||||
Include support for recognizing `time' as a reserved word and for
|
||||
displaying timing statistics for the pipeline following `time'
|
||||
@@ -9246,7 +9322,7 @@ D.1 Index of Shell Builtin Commands
|
||||
* :: Bourne Shell Builtins.
|
||||
(line 11)
|
||||
* [: Bourne Shell Builtins.
|
||||
(line 212)
|
||||
(line 213)
|
||||
* alias: Bash Builtins. (line 11)
|
||||
* bg: Job Control Builtins.
|
||||
(line 7)
|
||||
@@ -9271,8 +9347,8 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 7)
|
||||
* disown: Job Control Builtins.
|
||||
(line 83)
|
||||
* echo: Bash Builtins. (line 208)
|
||||
* enable: Bash Builtins. (line 260)
|
||||
* echo: Bash Builtins. (line 211)
|
||||
* enable: Bash Builtins. (line 263)
|
||||
* eval: Bourne Shell Builtins.
|
||||
(line 63)
|
||||
* exec: Bourne Shell Builtins.
|
||||
@@ -9289,50 +9365,50 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 103)
|
||||
* hash: Bourne Shell Builtins.
|
||||
(line 145)
|
||||
* help: Bash Builtins. (line 288)
|
||||
* help: Bash Builtins. (line 291)
|
||||
* history: Bash History Builtins.
|
||||
(line 39)
|
||||
* jobs: Job Control Builtins.
|
||||
(line 25)
|
||||
* kill: Job Control Builtins.
|
||||
(line 57)
|
||||
* let: Bash Builtins. (line 308)
|
||||
* local: Bash Builtins. (line 315)
|
||||
* logout: Bash Builtins. (line 325)
|
||||
* mapfile: Bash Builtins. (line 329)
|
||||
* let: Bash Builtins. (line 311)
|
||||
* local: Bash Builtins. (line 318)
|
||||
* logout: Bash Builtins. (line 328)
|
||||
* mapfile: Bash Builtins. (line 332)
|
||||
* popd: Directory Stack Builtins.
|
||||
(line 37)
|
||||
* printf: Bash Builtins. (line 370)
|
||||
* printf: Bash Builtins. (line 373)
|
||||
* pushd: Directory Stack Builtins.
|
||||
(line 58)
|
||||
* pwd: Bourne Shell Builtins.
|
||||
(line 163)
|
||||
* read: Bash Builtins. (line 395)
|
||||
* read: Bash Builtins. (line 398)
|
||||
* readonly: Bourne Shell Builtins.
|
||||
(line 172)
|
||||
* return: Bourne Shell Builtins.
|
||||
(line 187)
|
||||
(line 188)
|
||||
* set: The Set Builtin. (line 11)
|
||||
* shift: Bourne Shell Builtins.
|
||||
(line 200)
|
||||
(line 201)
|
||||
* shopt: The Shopt Builtin. (line 9)
|
||||
* source: Bash Builtins. (line 461)
|
||||
* source: Bash Builtins. (line 466)
|
||||
* suspend: Job Control Builtins.
|
||||
(line 94)
|
||||
* test: Bourne Shell Builtins.
|
||||
(line 212)
|
||||
(line 213)
|
||||
* times: Bourne Shell Builtins.
|
||||
(line 280)
|
||||
(line 281)
|
||||
* trap: Bourne Shell Builtins.
|
||||
(line 285)
|
||||
* type: Bash Builtins. (line 465)
|
||||
* typeset: Bash Builtins. (line 496)
|
||||
* ulimit: Bash Builtins. (line 502)
|
||||
(line 286)
|
||||
* type: Bash Builtins. (line 470)
|
||||
* typeset: Bash Builtins. (line 501)
|
||||
* ulimit: Bash Builtins. (line 507)
|
||||
* umask: Bourne Shell Builtins.
|
||||
(line 326)
|
||||
* unalias: Bash Builtins. (line 588)
|
||||
(line 327)
|
||||
* unalias: Bash Builtins. (line 593)
|
||||
* unset: Bourne Shell Builtins.
|
||||
(line 343)
|
||||
(line 344)
|
||||
* wait: Job Control Builtins.
|
||||
(line 73)
|
||||
|
||||
@@ -9399,17 +9475,19 @@ D.3 Parameter and Variable Index
|
||||
* auto_resume: Job Control Variables.
|
||||
(line 6)
|
||||
* BASH: Bash Variables. (line 13)
|
||||
* BASH_ARGC: Bash Variables. (line 21)
|
||||
* BASH_ARGV: Bash Variables. (line 31)
|
||||
* BASH_COMMAND: Bash Variables. (line 41)
|
||||
* BASH_ENV: Bash Variables. (line 46)
|
||||
* BASH_EXECUTION_STRING: Bash Variables. (line 52)
|
||||
* BASH_LINENO: Bash Variables. (line 55)
|
||||
* BASH_REMATCH: Bash Variables. (line 64)
|
||||
* BASH_SOURCE: Bash Variables. (line 72)
|
||||
* BASH_SUBSHELL: Bash Variables. (line 76)
|
||||
* BASH_VERSINFO: Bash Variables. (line 80)
|
||||
* BASH_VERSION: Bash Variables. (line 104)
|
||||
* BASH_ALIASES: Bash Variables. (line 21)
|
||||
* BASH_ARGC: Bash Variables. (line 28)
|
||||
* BASH_ARGV: Bash Variables. (line 38)
|
||||
* BASH_CMDS: Bash Variables. (line 48)
|
||||
* BASH_COMMAND: Bash Variables. (line 55)
|
||||
* BASH_ENV: Bash Variables. (line 60)
|
||||
* BASH_EXECUTION_STRING: Bash Variables. (line 66)
|
||||
* BASH_LINENO: Bash Variables. (line 69)
|
||||
* BASH_REMATCH: Bash Variables. (line 78)
|
||||
* BASH_SOURCE: Bash Variables. (line 86)
|
||||
* BASH_SUBSHELL: Bash Variables. (line 90)
|
||||
* BASH_VERSINFO: Bash Variables. (line 94)
|
||||
* BASH_VERSION: Bash Variables. (line 118)
|
||||
* BASHPID: Bash Variables. (line 16)
|
||||
* bell-style: Readline Init File Syntax.
|
||||
(line 38)
|
||||
@@ -9417,81 +9495,81 @@ D.3 Parameter and Variable Index
|
||||
(line 45)
|
||||
* CDPATH: Bourne Shell Variables.
|
||||
(line 9)
|
||||
* COLUMNS: Bash Variables. (line 107)
|
||||
* COLUMNS: Bash Variables. (line 121)
|
||||
* comment-begin: Readline Init File Syntax.
|
||||
(line 50)
|
||||
* COMP_CWORD: Bash Variables. (line 112)
|
||||
* COMP_KEY: Bash Variables. (line 141)
|
||||
* COMP_LINE: Bash Variables. (line 118)
|
||||
* COMP_POINT: Bash Variables. (line 123)
|
||||
* COMP_TYPE: Bash Variables. (line 131)
|
||||
* COMP_WORDBREAKS: Bash Variables. (line 145)
|
||||
* COMP_WORDS: Bash Variables. (line 151)
|
||||
* COMP_CWORD: Bash Variables. (line 126)
|
||||
* COMP_KEY: Bash Variables. (line 155)
|
||||
* COMP_LINE: Bash Variables. (line 132)
|
||||
* COMP_POINT: Bash Variables. (line 137)
|
||||
* COMP_TYPE: Bash Variables. (line 145)
|
||||
* COMP_WORDBREAKS: Bash Variables. (line 159)
|
||||
* COMP_WORDS: Bash Variables. (line 165)
|
||||
* completion-prefix-display-length: Readline Init File Syntax.
|
||||
(line 60)
|
||||
* completion-query-items: Readline Init File Syntax.
|
||||
(line 67)
|
||||
* COMPREPLY: Bash Variables. (line 158)
|
||||
* COMPREPLY: Bash Variables. (line 172)
|
||||
* convert-meta: Readline Init File Syntax.
|
||||
(line 77)
|
||||
* DIRSTACK: Bash Variables. (line 163)
|
||||
* DIRSTACK: Bash Variables. (line 177)
|
||||
* disable-completion: Readline Init File Syntax.
|
||||
(line 83)
|
||||
* editing-mode: Readline Init File Syntax.
|
||||
(line 88)
|
||||
* EMACS: Bash Variables. (line 173)
|
||||
* EMACS: Bash Variables. (line 187)
|
||||
* enable-keypad: Readline Init File Syntax.
|
||||
(line 94)
|
||||
* EUID: Bash Variables. (line 178)
|
||||
* EUID: Bash Variables. (line 192)
|
||||
* expand-tilde: Readline Init File Syntax.
|
||||
(line 99)
|
||||
* FCEDIT: Bash Variables. (line 182)
|
||||
* FIGNORE: Bash Variables. (line 186)
|
||||
* FUNCNAME: Bash Variables. (line 192)
|
||||
* GLOBIGNORE: Bash Variables. (line 201)
|
||||
* GROUPS: Bash Variables. (line 207)
|
||||
* histchars: Bash Variables. (line 213)
|
||||
* HISTCMD: Bash Variables. (line 228)
|
||||
* HISTCONTROL: Bash Variables. (line 233)
|
||||
* HISTFILE: Bash Variables. (line 249)
|
||||
* HISTFILESIZE: Bash Variables. (line 253)
|
||||
* HISTIGNORE: Bash Variables. (line 261)
|
||||
* FCEDIT: Bash Variables. (line 196)
|
||||
* FIGNORE: Bash Variables. (line 200)
|
||||
* FUNCNAME: Bash Variables. (line 206)
|
||||
* GLOBIGNORE: Bash Variables. (line 215)
|
||||
* GROUPS: Bash Variables. (line 221)
|
||||
* histchars: Bash Variables. (line 227)
|
||||
* HISTCMD: Bash Variables. (line 242)
|
||||
* HISTCONTROL: Bash Variables. (line 247)
|
||||
* HISTFILE: Bash Variables. (line 263)
|
||||
* HISTFILESIZE: Bash Variables. (line 267)
|
||||
* HISTIGNORE: Bash Variables. (line 275)
|
||||
* history-preserve-point: Readline Init File Syntax.
|
||||
(line 103)
|
||||
* history-size: Readline Init File Syntax.
|
||||
(line 109)
|
||||
* HISTSIZE: Bash Variables. (line 280)
|
||||
* HISTTIMEFORMAT: Bash Variables. (line 284)
|
||||
* HISTSIZE: Bash Variables. (line 294)
|
||||
* HISTTIMEFORMAT: Bash Variables. (line 298)
|
||||
* HOME: Bourne Shell Variables.
|
||||
(line 13)
|
||||
* horizontal-scroll-mode: Readline Init File Syntax.
|
||||
(line 114)
|
||||
* HOSTFILE: Bash Variables. (line 293)
|
||||
* HOSTNAME: Bash Variables. (line 304)
|
||||
* HOSTTYPE: Bash Variables. (line 307)
|
||||
* HOSTFILE: Bash Variables. (line 307)
|
||||
* HOSTNAME: Bash Variables. (line 318)
|
||||
* HOSTTYPE: Bash Variables. (line 321)
|
||||
* IFS: Bourne Shell Variables.
|
||||
(line 18)
|
||||
* IGNOREEOF: Bash Variables. (line 310)
|
||||
* IGNOREEOF: Bash Variables. (line 324)
|
||||
* input-meta: Readline Init File Syntax.
|
||||
(line 121)
|
||||
* INPUTRC: Bash Variables. (line 320)
|
||||
* INPUTRC: Bash Variables. (line 334)
|
||||
* isearch-terminators: Readline Init File Syntax.
|
||||
(line 128)
|
||||
* keymap: Readline Init File Syntax.
|
||||
(line 135)
|
||||
* LANG: Bash Variables. (line 324)
|
||||
* LC_ALL: Bash Variables. (line 328)
|
||||
* LC_COLLATE: Bash Variables. (line 332)
|
||||
* LC_CTYPE: Bash Variables. (line 339)
|
||||
* LANG: Bash Variables. (line 338)
|
||||
* LC_ALL: Bash Variables. (line 342)
|
||||
* LC_COLLATE: Bash Variables. (line 346)
|
||||
* LC_CTYPE: Bash Variables. (line 353)
|
||||
* LC_MESSAGES <1>: Locale Translation. (line 11)
|
||||
* LC_MESSAGES: Bash Variables. (line 344)
|
||||
* LC_NUMERIC: Bash Variables. (line 348)
|
||||
* LINENO: Bash Variables. (line 352)
|
||||
* LINES: Bash Variables. (line 356)
|
||||
* MACHTYPE: Bash Variables. (line 361)
|
||||
* LC_MESSAGES: Bash Variables. (line 358)
|
||||
* LC_NUMERIC: Bash Variables. (line 362)
|
||||
* LINENO: Bash Variables. (line 366)
|
||||
* LINES: Bash Variables. (line 370)
|
||||
* MACHTYPE: Bash Variables. (line 375)
|
||||
* MAIL: Bourne Shell Variables.
|
||||
(line 22)
|
||||
* MAILCHECK: Bash Variables. (line 365)
|
||||
* MAILCHECK: Bash Variables. (line 379)
|
||||
* MAILPATH: Bourne Shell Variables.
|
||||
(line 27)
|
||||
* mark-modified-lines: Readline Init File Syntax.
|
||||
@@ -9502,48 +9580,49 @@ D.3 Parameter and Variable Index
|
||||
(line 158)
|
||||
* meta-flag: Readline Init File Syntax.
|
||||
(line 121)
|
||||
* OLDPWD: Bash Variables. (line 373)
|
||||
* OLDPWD: Bash Variables. (line 387)
|
||||
* OPTARG: Bourne Shell Variables.
|
||||
(line 34)
|
||||
* OPTERR: Bash Variables. (line 376)
|
||||
* OPTERR: Bash Variables. (line 390)
|
||||
* OPTIND: Bourne Shell Variables.
|
||||
(line 38)
|
||||
* OSTYPE: Bash Variables. (line 380)
|
||||
* OSTYPE: Bash Variables. (line 394)
|
||||
* output-meta: Readline Init File Syntax.
|
||||
(line 165)
|
||||
* page-completions: Readline Init File Syntax.
|
||||
(line 170)
|
||||
* PATH: Bourne Shell Variables.
|
||||
(line 42)
|
||||
* PIPESTATUS: Bash Variables. (line 383)
|
||||
* POSIXLY_CORRECT: Bash Variables. (line 388)
|
||||
* PPID: Bash Variables. (line 397)
|
||||
* PROMPT_COMMAND: Bash Variables. (line 401)
|
||||
* PIPESTATUS: Bash Variables. (line 397)
|
||||
* POSIXLY_CORRECT: Bash Variables. (line 402)
|
||||
* PPID: Bash Variables. (line 411)
|
||||
* PROMPT_COMMAND: Bash Variables. (line 415)
|
||||
* PROMPT_DIRTRIM: Bash Variables. (line 419)
|
||||
* PS1: Bourne Shell Variables.
|
||||
(line 48)
|
||||
* PS2: Bourne Shell Variables.
|
||||
(line 53)
|
||||
* PS3: Bash Variables. (line 405)
|
||||
* PS4: Bash Variables. (line 410)
|
||||
* PWD: Bash Variables. (line 416)
|
||||
* RANDOM: Bash Variables. (line 419)
|
||||
* REPLY: Bash Variables. (line 424)
|
||||
* PS3: Bash Variables. (line 425)
|
||||
* PS4: Bash Variables. (line 430)
|
||||
* PWD: Bash Variables. (line 436)
|
||||
* RANDOM: Bash Variables. (line 439)
|
||||
* REPLY: Bash Variables. (line 444)
|
||||
* revert-all-at-newline: Readline Init File Syntax.
|
||||
(line 180)
|
||||
* SECONDS: Bash Variables. (line 427)
|
||||
* SHELL: Bash Variables. (line 433)
|
||||
* SHELLOPTS: Bash Variables. (line 438)
|
||||
* SHLVL: Bash Variables. (line 447)
|
||||
* SECONDS: Bash Variables. (line 447)
|
||||
* SHELL: Bash Variables. (line 453)
|
||||
* SHELLOPTS: Bash Variables. (line 458)
|
||||
* SHLVL: Bash Variables. (line 467)
|
||||
* show-all-if-ambiguous: Readline Init File Syntax.
|
||||
(line 186)
|
||||
* show-all-if-unmodified: Readline Init File Syntax.
|
||||
(line 192)
|
||||
* TEXTDOMAIN: Locale Translation. (line 11)
|
||||
* TEXTDOMAINDIR: Locale Translation. (line 11)
|
||||
* TIMEFORMAT: Bash Variables. (line 452)
|
||||
* TMOUT: Bash Variables. (line 490)
|
||||
* TMPDIR: Bash Variables. (line 502)
|
||||
* UID: Bash Variables. (line 506)
|
||||
* TIMEFORMAT: Bash Variables. (line 472)
|
||||
* TMOUT: Bash Variables. (line 510)
|
||||
* TMPDIR: Bash Variables. (line 522)
|
||||
* UID: Bash Variables. (line 526)
|
||||
* visible-stats: Readline Init File Syntax.
|
||||
(line 201)
|
||||
|
||||
@@ -9809,131 +9888,131 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top1338
|
||||
Node: Introduction3167
|
||||
Node: What is Bash?3395
|
||||
Node: What is a shell?4508
|
||||
Node: Definitions7048
|
||||
Node: Basic Shell Features9828
|
||||
Node: Shell Syntax11047
|
||||
Node: Shell Operation12077
|
||||
Node: Quoting13371
|
||||
Node: Escape Character14674
|
||||
Node: Single Quotes15159
|
||||
Node: Double Quotes15507
|
||||
Node: ANSI-C Quoting16632
|
||||
Node: Locale Translation17588
|
||||
Node: Comments18484
|
||||
Node: Shell Commands19102
|
||||
Node: Simple Commands19868
|
||||
Node: Pipelines20499
|
||||
Node: Lists22755
|
||||
Node: Compound Commands24484
|
||||
Node: Looping Constructs25268
|
||||
Node: Conditional Constructs27715
|
||||
Node: Command Grouping35721
|
||||
Node: Shell Functions37200
|
||||
Node: Shell Parameters41661
|
||||
Node: Positional Parameters43991
|
||||
Node: Special Parameters44891
|
||||
Node: Shell Expansions47855
|
||||
Node: Brace Expansion49780
|
||||
Node: Tilde Expansion52533
|
||||
Node: Shell Parameter Expansion54884
|
||||
Node: Command Substitution62584
|
||||
Node: Arithmetic Expansion63917
|
||||
Node: Process Substitution64767
|
||||
Node: Word Splitting65817
|
||||
Node: Filename Expansion67440
|
||||
Node: Pattern Matching69580
|
||||
Node: Quote Removal73219
|
||||
Node: Redirections73514
|
||||
Node: Executing Commands81657
|
||||
Node: Simple Command Expansion82327
|
||||
Node: Command Search and Execution84257
|
||||
Node: Command Execution Environment86594
|
||||
Node: Environment89393
|
||||
Node: Exit Status91053
|
||||
Node: Signals92674
|
||||
Node: Shell Scripts94642
|
||||
Node: Shell Builtin Commands97160
|
||||
Node: Bourne Shell Builtins98837
|
||||
Node: Bash Builtins116067
|
||||
Node: Modifying Shell Behavior138853
|
||||
Node: The Set Builtin139198
|
||||
Node: The Shopt Builtin148046
|
||||
Node: Special Builtins158908
|
||||
Node: Shell Variables159887
|
||||
Node: Bourne Shell Variables160327
|
||||
Node: Bash Variables162308
|
||||
Node: Bash Features183680
|
||||
Node: Invoking Bash184563
|
||||
Node: Bash Startup Files190372
|
||||
Node: Interactive Shells195341
|
||||
Node: What is an Interactive Shell?195751
|
||||
Node: Is this Shell Interactive?196400
|
||||
Node: Interactive Shell Behavior197215
|
||||
Node: Bash Conditional Expressions200495
|
||||
Node: Shell Arithmetic204074
|
||||
Node: Aliases206820
|
||||
Node: Arrays209392
|
||||
Node: The Directory Stack212741
|
||||
Node: Directory Stack Builtins213455
|
||||
Node: Printing a Prompt216347
|
||||
Node: The Restricted Shell219061
|
||||
Node: Bash POSIX Mode220893
|
||||
Node: Job Control228652
|
||||
Node: Job Control Basics229112
|
||||
Node: Job Control Builtins233621
|
||||
Node: Job Control Variables237948
|
||||
Node: Command Line Editing239106
|
||||
Node: Introduction and Notation240101
|
||||
Node: Readline Interaction241723
|
||||
Node: Readline Bare Essentials242914
|
||||
Node: Readline Movement Commands244703
|
||||
Node: Readline Killing Commands245668
|
||||
Node: Readline Arguments247588
|
||||
Node: Searching248632
|
||||
Node: Readline Init File250818
|
||||
Node: Readline Init File Syntax251965
|
||||
Node: Conditional Init Constructs265199
|
||||
Node: Sample Init File267732
|
||||
Node: Bindable Readline Commands270849
|
||||
Node: Commands For Moving272056
|
||||
Node: Commands For History272917
|
||||
Node: Commands For Text276072
|
||||
Node: Commands For Killing278745
|
||||
Node: Numeric Arguments280887
|
||||
Node: Commands For Completion282026
|
||||
Node: Keyboard Macros285793
|
||||
Node: Miscellaneous Commands286364
|
||||
Node: Readline vi Mode291675
|
||||
Node: Programmable Completion292589
|
||||
Node: Programmable Completion Builtins298422
|
||||
Node: Using History Interactively306805
|
||||
Node: Bash History Facilities307489
|
||||
Node: Bash History Builtins310403
|
||||
Node: History Interaction314260
|
||||
Node: Event Designators316965
|
||||
Node: Word Designators317980
|
||||
Node: Modifiers319619
|
||||
Node: Installing Bash321023
|
||||
Node: Basic Installation322160
|
||||
Node: Compilers and Options324852
|
||||
Node: Compiling For Multiple Architectures325593
|
||||
Node: Installation Names327257
|
||||
Node: Specifying the System Type328075
|
||||
Node: Sharing Defaults328791
|
||||
Node: Operation Controls329464
|
||||
Node: Optional Features330422
|
||||
Node: Reporting Bugs339353
|
||||
Node: Major Differences From The Bourne Shell340547
|
||||
Node: GNU Free Documentation License357234
|
||||
Node: Indexes379695
|
||||
Node: Builtin Index380149
|
||||
Node: Reserved Word Index386903
|
||||
Node: Variable Index389351
|
||||
Node: Function Index400938
|
||||
Node: Concept Index407670
|
||||
Node: Top1344
|
||||
Node: Introduction3175
|
||||
Node: What is Bash?3403
|
||||
Node: What is a shell?4516
|
||||
Node: Definitions7056
|
||||
Node: Basic Shell Features9836
|
||||
Node: Shell Syntax11055
|
||||
Node: Shell Operation12085
|
||||
Node: Quoting13379
|
||||
Node: Escape Character14682
|
||||
Node: Single Quotes15167
|
||||
Node: Double Quotes15515
|
||||
Node: ANSI-C Quoting16640
|
||||
Node: Locale Translation17596
|
||||
Node: Comments18492
|
||||
Node: Shell Commands19110
|
||||
Node: Simple Commands19876
|
||||
Node: Pipelines20507
|
||||
Node: Lists22763
|
||||
Node: Compound Commands24492
|
||||
Node: Looping Constructs25276
|
||||
Node: Conditional Constructs27723
|
||||
Node: Command Grouping35729
|
||||
Node: Shell Functions37208
|
||||
Node: Shell Parameters41669
|
||||
Node: Positional Parameters44085
|
||||
Node: Special Parameters44985
|
||||
Node: Shell Expansions47949
|
||||
Node: Brace Expansion49874
|
||||
Node: Tilde Expansion52627
|
||||
Node: Shell Parameter Expansion54978
|
||||
Node: Command Substitution63809
|
||||
Node: Arithmetic Expansion65142
|
||||
Node: Process Substitution65992
|
||||
Node: Word Splitting67042
|
||||
Node: Filename Expansion68665
|
||||
Node: Pattern Matching70805
|
||||
Node: Quote Removal74444
|
||||
Node: Redirections74739
|
||||
Node: Executing Commands82882
|
||||
Node: Simple Command Expansion83552
|
||||
Node: Command Search and Execution85482
|
||||
Node: Command Execution Environment87819
|
||||
Node: Environment90618
|
||||
Node: Exit Status92278
|
||||
Node: Signals93899
|
||||
Node: Shell Scripts95867
|
||||
Node: Shell Builtin Commands98385
|
||||
Node: Bourne Shell Builtins100062
|
||||
Node: Bash Builtins117380
|
||||
Node: Modifying Shell Behavior140408
|
||||
Node: The Set Builtin140753
|
||||
Node: The Shopt Builtin149601
|
||||
Node: Special Builtins160463
|
||||
Node: Shell Variables161442
|
||||
Node: Bourne Shell Variables161882
|
||||
Node: Bash Variables163863
|
||||
Node: Bash Features186181
|
||||
Node: Invoking Bash187064
|
||||
Node: Bash Startup Files192873
|
||||
Node: Interactive Shells197842
|
||||
Node: What is an Interactive Shell?198252
|
||||
Node: Is this Shell Interactive?198901
|
||||
Node: Interactive Shell Behavior199716
|
||||
Node: Bash Conditional Expressions202996
|
||||
Node: Shell Arithmetic206575
|
||||
Node: Aliases209321
|
||||
Node: Arrays211893
|
||||
Node: The Directory Stack215735
|
||||
Node: Directory Stack Builtins216449
|
||||
Node: Printing a Prompt219341
|
||||
Node: The Restricted Shell222093
|
||||
Node: Bash POSIX Mode223925
|
||||
Node: Job Control231778
|
||||
Node: Job Control Basics232238
|
||||
Node: Job Control Builtins236832
|
||||
Node: Job Control Variables241196
|
||||
Node: Command Line Editing242354
|
||||
Node: Introduction and Notation243349
|
||||
Node: Readline Interaction244971
|
||||
Node: Readline Bare Essentials246162
|
||||
Node: Readline Movement Commands247951
|
||||
Node: Readline Killing Commands248916
|
||||
Node: Readline Arguments250836
|
||||
Node: Searching251880
|
||||
Node: Readline Init File254066
|
||||
Node: Readline Init File Syntax255213
|
||||
Node: Conditional Init Constructs268447
|
||||
Node: Sample Init File270980
|
||||
Node: Bindable Readline Commands274097
|
||||
Node: Commands For Moving275304
|
||||
Node: Commands For History276165
|
||||
Node: Commands For Text279320
|
||||
Node: Commands For Killing281993
|
||||
Node: Numeric Arguments284135
|
||||
Node: Commands For Completion285274
|
||||
Node: Keyboard Macros289041
|
||||
Node: Miscellaneous Commands289612
|
||||
Node: Readline vi Mode294923
|
||||
Node: Programmable Completion295837
|
||||
Node: Programmable Completion Builtins301670
|
||||
Node: Using History Interactively310053
|
||||
Node: Bash History Facilities310737
|
||||
Node: Bash History Builtins313651
|
||||
Node: History Interaction317508
|
||||
Node: Event Designators320213
|
||||
Node: Word Designators321228
|
||||
Node: Modifiers322867
|
||||
Node: Installing Bash324271
|
||||
Node: Basic Installation325408
|
||||
Node: Compilers and Options328100
|
||||
Node: Compiling For Multiple Architectures328841
|
||||
Node: Installation Names330505
|
||||
Node: Specifying the System Type331323
|
||||
Node: Sharing Defaults332039
|
||||
Node: Operation Controls332712
|
||||
Node: Optional Features333670
|
||||
Node: Reporting Bugs342954
|
||||
Node: Major Differences From The Bourne Shell344148
|
||||
Node: GNU Free Documentation License360835
|
||||
Node: Indexes383296
|
||||
Node: Builtin Index383750
|
||||
Node: Reserved Word Index390504
|
||||
Node: Variable Index392952
|
||||
Node: Function Index404758
|
||||
Node: Concept Index411490
|
||||
|
||||
End Tag Table
|
||||
|
||||
Reference in New Issue
Block a user