mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 02:10:50 +02:00
commit bash-20100115 snapshot
This commit is contained in:
+32
-12
@@ -4425,7 +4425,7 @@ subshells invoked with @code{( @var{command} )} inherit the
|
||||
@item
|
||||
Error tracing is enabled: command substitution, shell functions, and
|
||||
subshells invoked with @code{( @var{command} )} inherit the
|
||||
@code{ERROR} trap.
|
||||
@code{ERR} trap.
|
||||
@end enumerate
|
||||
|
||||
@item extglob
|
||||
@@ -4883,6 +4883,10 @@ An array variable from which Bash reads the possible completions
|
||||
generated by a shell function invoked by the programmable completion
|
||||
facility (@pxref{Programmable Completion}).
|
||||
|
||||
@item COPROC
|
||||
An array variable created to hold the file descriptors
|
||||
for output from and input to an unnamed coprocess (@pxref{Coprocesses}).
|
||||
|
||||
@item DIRSTACK
|
||||
An array variable containing the current contents of the directory stack.
|
||||
Directories appear in the stack in the order they are displayed by the
|
||||
@@ -4899,6 +4903,10 @@ If Bash finds this variable in the environment when the shell
|
||||
starts with value @samp{t}, it assumes that the shell is running in an
|
||||
emacs shell buffer and disables line editing.
|
||||
|
||||
@item ENV
|
||||
Similar to @code{BASH_ENV}; used when the shell is invoked in
|
||||
@sc{posix} Mode (@pxref{Bash POSIX Mode}).
|
||||
|
||||
@item EUID
|
||||
The numeric effective user id of the current user. This variable
|
||||
is readonly.
|
||||
@@ -5105,6 +5113,10 @@ for mail, the shell does so before displaying the primary prompt.
|
||||
If this variable is unset, or set to a value that is not a number
|
||||
greater than or equal to zero, the shell disables mail checking.
|
||||
|
||||
@item MAPFILE
|
||||
An array variable created to hold the text read by the
|
||||
@code{mapfile} builtin when no variable name is supplied.
|
||||
|
||||
@item OLDPWD
|
||||
The previous working directory as set by the @code{cd} builtin.
|
||||
|
||||
@@ -5167,6 +5179,14 @@ Each time this parameter is referenced, a random integer
|
||||
between 0 and 32767 is generated. Assigning a value to this
|
||||
variable seeds the random number generator.
|
||||
|
||||
@item READLINE_LINE
|
||||
The contents of the Readline line buffer, for use
|
||||
with @samp{bind -x} (@pxref{Bash Builtins}).
|
||||
|
||||
@item READLINE_POINT
|
||||
The position of the insertion point in the Readline line buffer, for use
|
||||
with @samp{bind -x} (@pxref{Bash Builtins}).
|
||||
|
||||
@item REPLY
|
||||
The default variable for the @code{read} builtin.
|
||||
|
||||
@@ -5788,20 +5808,24 @@ True if @var{file} exists and is writable.
|
||||
@item -x @var{file}
|
||||
True if @var{file} exists and is executable.
|
||||
|
||||
@item -O @var{file}
|
||||
True if @var{file} exists and is owned by the effective user id.
|
||||
|
||||
@item -G @var{file}
|
||||
True if @var{file} exists and is owned by the effective group id.
|
||||
|
||||
@item -L @var{file}
|
||||
True if @var{file} exists and is a symbolic link.
|
||||
|
||||
@item -N @var{file}
|
||||
True if @var{file} exists and has been modified since it was last read.
|
||||
|
||||
@item -O @var{file}
|
||||
True if @var{file} exists and is owned by the effective user id.
|
||||
|
||||
@item -S @var{file}
|
||||
True if @var{file} exists and is a socket.
|
||||
|
||||
@item -N @var{file}
|
||||
True if @var{file} exists and has been modified since it was last read.
|
||||
@item @var{file1} -ef @var{file2}
|
||||
True if @var{file1} and @var{file2} refer to the same device and
|
||||
inode numbers.
|
||||
|
||||
@item @var{file1} -nt @var{file2}
|
||||
True if @var{file1} is newer (according to modification date)
|
||||
@@ -5811,10 +5835,6 @@ than @var{file2}, or if @var{file1} exists and @var{file2} does not.
|
||||
True if @var{file1} is older than @var{file2},
|
||||
or if @var{file2} exists and @var{file1} does not.
|
||||
|
||||
@item @var{file1} -ef @var{file2}
|
||||
True if @var{file1} and @var{file2} refer to the same device and
|
||||
inode numbers.
|
||||
|
||||
@item -o @var{optname}
|
||||
True if shell option @var{optname} is enabled.
|
||||
The list of options appears in the description of the @option{-o}
|
||||
@@ -6471,7 +6491,7 @@ during command lookup.
|
||||
@item
|
||||
If a @sc{posix} special builtin returns an error status, a
|
||||
non-interactive shell exits. The fatal errors are those listed in
|
||||
the POSIX standard, and include things like passing incorrect options,
|
||||
the @sc{posix} standard, and include things like passing incorrect options,
|
||||
redirection errors, variable assignment errors for assignments preceding
|
||||
the command name, and so on.
|
||||
|
||||
@@ -7280,7 +7300,7 @@ Include support for the @code{[[} conditional command.
|
||||
(@pxref{Conditional Constructs}).
|
||||
|
||||
@item --enable-cond-regexp
|
||||
Include support for matching POSIX regular expressions using the
|
||||
Include support for matching @sc{posix} regular expressions using the
|
||||
@samp{=~} binary operator in the @code{[[} conditional command.
|
||||
(@pxref{Conditional Constructs}).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user