mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-29 08:29:54 +02:00
commit bash-20061116 snapshot
This commit is contained in:
+16
-14
@@ -6,12 +6,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.cwru.edu
|
||||
.\"
|
||||
.\" Last Change: Wed Nov 8 11:22:01 EST 2006
|
||||
.\" Last Change: Tue Nov 21 10:50:26 EST 2006
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2006 November 8" "GNU Bash-3.2"
|
||||
.TH BASH 1 "2006 November 21" "GNU Bash-3.2"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -2432,7 +2432,9 @@ 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.
|
||||
Substring indexing is zero-based unless the positional parameters
|
||||
are used, in which case the indexing starts at 1.
|
||||
are used, in which case the indexing starts at 1 by default.
|
||||
If \fIoffset\fP is 0, and the positional parameters are used, \fB$0\fP is
|
||||
prefixed to the list.
|
||||
.TP
|
||||
${\fB!\fP\fIprefix\fP\fB*\fP}
|
||||
.PD 0
|
||||
@@ -6519,7 +6521,7 @@ an attempt is made to turn off array status for an array variable,
|
||||
or an attempt is made to display a non-existent function with \fB\-f\fP.
|
||||
.RE
|
||||
.TP
|
||||
.B dirs [\fB\-clpv\fP] [+\fIn\fP] [\-\fIn\fP]
|
||||
.B dirs [+\fIn\fP] [\-\fIn\fP] [\fB\-cplv\fP]
|
||||
Without options, displays the list of currently remembered directories.
|
||||
The default display is on a single line with directory names separated
|
||||
by spaces.
|
||||
@@ -7272,6 +7274,10 @@ Arguments, if supplied, have the following meanings:
|
||||
.RS
|
||||
.PD 0
|
||||
.TP
|
||||
.B \-n
|
||||
Suppresses the normal change of directory when removing directories
|
||||
from the stack, so that only the stack is manipulated.
|
||||
.TP
|
||||
\fB+\fP\fIn\fP
|
||||
Removes the \fIn\fPth entry counting from the left of the list
|
||||
shown by
|
||||
@@ -7295,10 +7301,6 @@ removes the last directory,
|
||||
.if n ``popd -1''
|
||||
.if t \f(CWpopd -1\fP
|
||||
the next to last.
|
||||
.TP
|
||||
.B \-n
|
||||
Suppresses the normal change of directory when removing directories
|
||||
from the stack, so that only the stack is manipulated.
|
||||
.PD
|
||||
.PP
|
||||
If the
|
||||
@@ -7337,10 +7339,10 @@ extra format specifications behave as if a zero value or null string, as
|
||||
appropriate, had been supplied. The return value is zero on success,
|
||||
non-zero on failure.
|
||||
.TP
|
||||
\fBpushd\fP [\fB\-n\fP] [\fIdir\fP]
|
||||
\fBpushd\fP [\fB\-n\fP] [+\fIn\fP] [\-\fIn\fP]
|
||||
.PD 0
|
||||
.TP
|
||||
\fBpushd\fP [\fB\-n\fP] [+\fIn\fP] [\-\fIn\fP]
|
||||
\fBpushd\fP [\fB\-n\fP] [\fIdir\fP]
|
||||
.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
|
||||
@@ -7350,6 +7352,10 @@ 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.
|
||||
.TP
|
||||
\fB+\fP\fIn\fP
|
||||
Rotates the stack so that the \fIn\fPth directory
|
||||
(counting from the left of the list shown by
|
||||
@@ -7363,10 +7369,6 @@ Rotates the stack so that the \fIn\fPth directory
|
||||
.BR dirs ,
|
||||
starting with zero) is at the top.
|
||||
.TP
|
||||
.B \-n
|
||||
Suppresses the normal change of directory when adding directories
|
||||
to the stack, so that only the stack is manipulated.
|
||||
.TP
|
||||
.I dir
|
||||
Adds
|
||||
.I dir
|
||||
|
||||
+8892
File diff suppressed because it is too large
Load Diff
+7
-5
@@ -1599,7 +1599,9 @@ 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 @samp{:-} expansion.
|
||||
Substring indexing is zero-based unless the positional parameters
|
||||
are used, in which case the indexing starts at 1.
|
||||
are used, in which case the indexing starts at 1 by default.
|
||||
If @var{offset}} is 0, and the positional parameters are used, @code{$@@} is
|
||||
prefixed to the list.
|
||||
|
||||
@item $@{!@var{prefix}*@}
|
||||
@itemx $@{!@var{prefix}@@@}
|
||||
@@ -5736,7 +5738,7 @@ from the stack, so that only the stack is manipulated.
|
||||
@btindex pushd
|
||||
@item pushd
|
||||
@example
|
||||
pushd [@var{dir} | @var{+N} | @var{-N}] [-n]
|
||||
pushd [-n] [@var{+N} | @var{-N} | @var{dir} ]
|
||||
@end example
|
||||
|
||||
Save the current directory on the top of the directory stack
|
||||
@@ -5744,6 +5746,9 @@ and then @code{cd} to @var{dir}.
|
||||
With no arguments, @code{pushd} exchanges the top two directories.
|
||||
|
||||
@table @code
|
||||
@item -n
|
||||
Suppresses the normal change of directory when 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
|
||||
@@ -5752,9 +5757,6 @@ the list by rotating the stack.
|
||||
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 -n
|
||||
Suppresses the normal change of directory when adding directories
|
||||
to the stack, so that only the stack is manipulated.
|
||||
@item @var{dir}
|
||||
Makes the current working directory be the top of the stack, and then
|
||||
executes the equivalent of `@code{cd} @var{dir}'.
|
||||
|
||||
+7426
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2006 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Wed Nov 8 11:21:28 EST 2006
|
||||
@set LASTCHANGE Tue Nov 21 10:50:07 EST 2006
|
||||
|
||||
@set EDITION 3.2
|
||||
@set VERSION 3.2
|
||||
@set UPDATED 8 November 2006
|
||||
@set UPDATED 21 November 2006
|
||||
@set UPDATED-MONTH November 2006
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
@ignore
|
||||
Copyright (C) 1988-2006 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Wed Nov 8 11:21:28 EST 2006
|
||||
|
||||
@set EDITION 3.2
|
||||
@set VERSION 3.2
|
||||
@set UPDATED 8 November 2006
|
||||
@set UPDATED-MONTH November 2006
|
||||
Reference in New Issue
Block a user