mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-28 07:59:50 +02:00
commit bash-20150813 snapshot
This commit is contained in:
+13
-7
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Fri Jul 31 11:16:37 EDT 2015
|
||||
.\" Last Change: Sat Aug 15 15:17:33 EDT 2015
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2015 July 31" "GNU Bash 4.4"
|
||||
.TH BASH 1 "2015 August 15" "GNU Bash 4.4"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -1520,6 +1520,12 @@ Use
|
||||
.B LINENO
|
||||
to obtain the current line number.
|
||||
.TP
|
||||
.B BASH_LOADABLES_PATH
|
||||
A colon-separated list of directories in which the shell looks for
|
||||
dynamically loadable builtins specified by the
|
||||
.B enable
|
||||
command.
|
||||
.TP
|
||||
.B BASH_REMATCH
|
||||
An array variable whose members are assigned by the \fB=~\fP binary
|
||||
operator to the \fB[[\fP conditional command.
|
||||
@@ -1681,7 +1687,7 @@ This variable exists only when a shell function is executing.
|
||||
Assignments to
|
||||
.SM
|
||||
.B FUNCNAME
|
||||
have no effect and return an error status.
|
||||
have no effect.
|
||||
If
|
||||
.SM
|
||||
.B FUNCNAME
|
||||
@@ -1704,7 +1710,7 @@ user is a member.
|
||||
Assignments to
|
||||
.SM
|
||||
.B GROUPS
|
||||
have no effect and return an error status.
|
||||
have no effect.
|
||||
If
|
||||
.SM
|
||||
.B GROUPS
|
||||
@@ -8656,15 +8662,15 @@ The return value is zero on success, non-zero on failure.
|
||||
.PD
|
||||
Adds a directory to the top of the directory stack, or rotates
|
||||
the stack, making the new top of the stack the current working
|
||||
directory. With no arguments, exchanges the top two directories
|
||||
directory. With no arguments, \fBpushd\fP exchanges the top two directories
|
||||
and returns 0, unless the directory stack is empty.
|
||||
Arguments, if supplied, have the following meanings:
|
||||
.RS
|
||||
.PD 0
|
||||
.TP
|
||||
.B \-n
|
||||
Suppresses the normal change of directory when adding directories
|
||||
to the stack, so that only the stack is manipulated.
|
||||
Suppresses the normal change of directory when rotating or
|
||||
adding directories to the stack, so that only the stack is manipulated.
|
||||
.TP
|
||||
\fB+\fP\fIn\fP
|
||||
Rotates the stack so that the \fIn\fPth directory
|
||||
|
||||
+16
-11
@@ -5503,6 +5503,11 @@ where each corresponding member of @var{FUNCNAME} was invoked.
|
||||
referenced within another shell function).
|
||||
Use @code{LINENO} to obtain the current line number.
|
||||
|
||||
@item BASH_LOADABLES_PATH
|
||||
A colon-separated list of directories in which the shell looks for
|
||||
dynamically loadable builtins specified by the
|
||||
@code{enable} command.
|
||||
|
||||
@item BASH_REMATCH
|
||||
An array variable whose members are assigned by the @samp{=~} binary
|
||||
operator to the @code{[[} conditional command
|
||||
@@ -5698,7 +5703,7 @@ shell function.
|
||||
The bottom-most element (the one with the highest index)
|
||||
is @code{"main"}.
|
||||
This variable exists only when a shell function is executing.
|
||||
Assignments to @env{FUNCNAME} have no effect and return an error status.
|
||||
Assignments to @env{FUNCNAME} have no effect.
|
||||
If @env{FUNCNAME} is unset, it loses its special properties, even if
|
||||
it is subsequently reset.
|
||||
|
||||
@@ -5725,7 +5730,7 @@ of matches.
|
||||
@item GROUPS
|
||||
An array variable containing the list of groups of which the current
|
||||
user is a member.
|
||||
Assignments to @env{GROUPS} have no effect and return an error status.
|
||||
Assignments to @env{GROUPS} have no effect.
|
||||
If @env{GROUPS} is unset, it loses its special properties, even if it is
|
||||
subsequently reset.
|
||||
|
||||
@@ -6992,6 +6997,7 @@ The directory stack is a list of recently-visited directories. The
|
||||
the current directory, and the @code{popd} builtin removes specified
|
||||
directories from the stack and changes the current directory to
|
||||
the directory removed. The @code{dirs} builtin displays the contents
|
||||
of the directory stack. The current directory is always the "top"
|
||||
of the directory stack.
|
||||
|
||||
The contents of the directory stack are also visible
|
||||
@@ -7040,13 +7046,11 @@ with zero.
|
||||
popd [-n] [+@var{N} | -@var{N}]
|
||||
@end example
|
||||
|
||||
Remove the top entry from the directory stack, and @code{cd}
|
||||
to the new top directory.
|
||||
When no arguments are given, @code{popd}
|
||||
removes the top directory from the stack and
|
||||
performs a @code{cd} to the new top directory. The
|
||||
elements are numbered from 0 starting at the first directory listed with
|
||||
@code{dirs}; that is, @code{popd} is equivalent to @code{popd +0}.
|
||||
performs a @code{cd} to the new top directory.
|
||||
The elements are numbered from 0 starting at the first directory
|
||||
listed with @code{dirs}; that is, @code{popd} is equivalent to @code{popd +0}.
|
||||
|
||||
@table @code
|
||||
@item -n
|
||||
@@ -7068,12 +7072,13 @@ pushd [-n] [@var{+N} | @var{-N} | @var{dir}]
|
||||
|
||||
Save the current directory on the top of the directory stack
|
||||
and then @code{cd} to @var{dir}.
|
||||
With no arguments, @code{pushd} exchanges the top two directories.
|
||||
With no arguments, @code{pushd} exchanges the top two directories
|
||||
and makes the new top the current directory.
|
||||
|
||||
@table @code
|
||||
@item -n
|
||||
Suppresses the normal change of directory when adding directories
|
||||
to the stack, so that only the stack is manipulated.
|
||||
Suppresses the normal change of directory when rotating or
|
||||
adding directories to the stack, so that only the stack is manipulated.
|
||||
@item +@var{N}
|
||||
Brings the @var{N}th directory (counting from the left of the
|
||||
list printed by @code{dirs}, starting with zero) to the top of
|
||||
@@ -7083,7 +7088,7 @@ Brings the @var{N}th directory (counting from the right of the
|
||||
list printed by @code{dirs}, starting with zero) to the top of
|
||||
the list by rotating the stack.
|
||||
@item @var{dir}
|
||||
Makes the current working directory be the top of the stack, making
|
||||
Makes @var{dir} be the top of the stack, making
|
||||
it the new current directory as if it had been supplied as an argument
|
||||
to the @code{cd} builtin.
|
||||
@end table
|
||||
|
||||
+3
-3
@@ -2,10 +2,10 @@
|
||||
Copyright (C) 1988-2015 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Jul 31 11:16:22 EDT 2015
|
||||
@set LASTCHANGE Sat Aug 15 15:17:52 EDT 2015
|
||||
|
||||
@set EDITION 4.4
|
||||
@set VERSION 4.4
|
||||
|
||||
@set UPDATED 31 July 2015
|
||||
@set UPDATED-MONTH July 2015
|
||||
@set UPDATED 15 August 2015
|
||||
@set UPDATED-MONTH August 2015
|
||||
|
||||
Reference in New Issue
Block a user