mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 20:50:42 +02:00
commit bash-20050428 snapshot
This commit is contained in:
+7
-5
@@ -6,12 +6,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.CWRU.Edu
|
||||
.\"
|
||||
.\" Last Change: Wed Mar 23 21:06:23 EST 2005
|
||||
.\" Last Change: Sat Apr 30 19:09:18 EDT 2005
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2005 Mar 23" "GNU Bash-3.1-devel"
|
||||
.TH BASH 1 "2005 Apr 30" "GNU Bash-3.1-devel"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -5887,6 +5887,8 @@ section as accepting options preceded by
|
||||
accepts
|
||||
.B \-\-
|
||||
to signify the end of the options.
|
||||
For example, the \fB:\fP, \fBtrue\fP, \fBfalse\fP, and \fBtest\fP builtins
|
||||
do not accept options.
|
||||
.sp .5
|
||||
.PD 0
|
||||
.TP
|
||||
@@ -6582,9 +6584,7 @@ The \fBxpg_echo\fP shell option may be used to
|
||||
dynamically determine whether or not \fBecho\fP expands these
|
||||
escape characters by default.
|
||||
.B echo
|
||||
does not interpret
|
||||
.B \-\-
|
||||
to mean the end of options.
|
||||
does not interpret \fB\-\-\fP to mean the end of options.
|
||||
.B echo
|
||||
interprets the following escape sequences:
|
||||
.RS
|
||||
@@ -8201,6 +8201,8 @@ Each operator and operand must be a separate argument.
|
||||
Expressions are composed of the primaries described above under
|
||||
.SM
|
||||
.BR "CONDITIONAL EXPRESSIONS" .
|
||||
\fBtest\fP does not accept any options, nor does it accept and ignore
|
||||
an argument of \fB\-\-\fP as signifying the end of options.
|
||||
.if t .sp 0.5
|
||||
.if n .sp 1
|
||||
Expressions may be combined using the following operators, listed
|
||||
|
||||
+19
-6
@@ -6,12 +6,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.CWRU.Edu
|
||||
.\"
|
||||
.\" Last Change: Sat Feb 19 17:38:29 EST 2005
|
||||
.\" Last Change: Wed Mar 23 21:06:23 EST 2005
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2005 Feb 19" "GNU Bash-3.1-devel"
|
||||
.TH BASH 1 "2005 Mar 23" "GNU Bash-3.1-devel"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -2103,6 +2103,8 @@ The
|
||||
.B unset
|
||||
builtin is used to destroy arrays. \fBunset\fP \fIname\fP[\fIsubscript\fP]
|
||||
destroys the array element at index \fIsubscript\fP.
|
||||
Care must be taken to avoid unwanted side effects caused by filename
|
||||
generation.
|
||||
\fBunset\fP \fIname\fP, where \fIname\fP is an array, or
|
||||
\fBunset\fP \fIname\fP[\fIsubscript\fP], where
|
||||
\fIsubscript\fP is \fB*\fP or \fB@\fP, removes the entire array.
|
||||
@@ -5885,6 +5887,8 @@ section as accepting options preceded by
|
||||
accepts
|
||||
.B \-\-
|
||||
to signify the end of the options.
|
||||
For example, the \fB:\fP, \fBtrue\fP, \fBfalse\fP, and \fBtest\fP builtins
|
||||
do not accept options.
|
||||
.sp .5
|
||||
.PD 0
|
||||
.TP
|
||||
@@ -6580,9 +6584,7 @@ The \fBxpg_echo\fP shell option may be used to
|
||||
dynamically determine whether or not \fBecho\fP expands these
|
||||
escape characters by default.
|
||||
.B echo
|
||||
does not interpret
|
||||
.B \-\-
|
||||
to mean the end of options.
|
||||
does not interpret \fB\-\-\fP to mean the end of options.
|
||||
.B echo
|
||||
interprets the following escape sequences:
|
||||
.RS
|
||||
@@ -7290,7 +7292,7 @@ is empty, a non-existent directory stack entry is specified, or the
|
||||
directory change fails.
|
||||
.RE
|
||||
.TP
|
||||
\fBprintf\fP \fIformat\fP [\fIarguments\fP]
|
||||
\fBprintf\fP [\fB\-v\fP \fIvar\fP] \fIformat\fP [\fIarguments\fP]
|
||||
Write the formatted \fIarguments\fP to the standard output under the
|
||||
control of the \fIformat\fP.
|
||||
The \fIformat\fP is a character string which contains three types of objects:
|
||||
@@ -7306,6 +7308,9 @@ beginning with \fB\e0\fP may contain up to four digits),
|
||||
and \fB%q\fP causes \fBprintf\fP to output the corresponding
|
||||
\fIargument\fP in a format that can be reused as shell input.
|
||||
.sp 1
|
||||
The \fB\-v\fP option causes the output to be assigned to the variable
|
||||
\fIvar\fP rather than being printed to the standard output.
|
||||
.sp 1
|
||||
The \fIformat\fP is reused as necessary to consume all of the \fIarguments\fP.
|
||||
If the \fIformat\fP requires more \fIarguments\fP than are supplied, the
|
||||
extra format specifications behave as if a zero value or null string, as
|
||||
@@ -8117,6 +8122,12 @@ expansion (see
|
||||
.B Pathname Expansion
|
||||
above).
|
||||
.TP 8
|
||||
.B nocasematch
|
||||
If set,
|
||||
.B bash
|
||||
matches patterns in a case\-insensitive fashion when performing matching
|
||||
while executing \fBcase\fP or \fB[[\fP conditional commands.
|
||||
.TP 8
|
||||
.B nullglob
|
||||
If set,
|
||||
.B bash
|
||||
@@ -8190,6 +8201,8 @@ Each operator and operand must be a separate argument.
|
||||
Expressions are composed of the primaries described above under
|
||||
.SM
|
||||
.BR "CONDITIONAL EXPRESSIONS" .
|
||||
\fBtest\fP does not accept any options, nor does it accept and ignore
|
||||
an argument of \fB\-\-\fP as signifying the end of options.
|
||||
.if t .sp 0.5
|
||||
.if n .sp 1
|
||||
Expressions may be combined using the following operators, listed
|
||||
|
||||
@@ -2642,6 +2642,8 @@ Many of the builtins have been extended by @sc{posix} or Bash.
|
||||
Unless otherwise noted, each builtin command documented as accepting
|
||||
options preceded by @samp{-} accepts @samp{--}
|
||||
to signify the end of the options.
|
||||
For example, the @code{:}, @code{true}, @code{false}, and @code{test}
|
||||
builtins do not accept options.
|
||||
|
||||
@node Bourne Shell Builtins
|
||||
@section Bourne Shell Builtins
|
||||
@@ -2932,6 +2934,8 @@ Evaluate a conditional expression @var{expr}.
|
||||
Each operator and operand must be a separate argument.
|
||||
Expressions are composed of the primaries described below in
|
||||
@ref{Bash Conditional Expressions}.
|
||||
@code{test} does not accept any options, nor does it accept and ignore
|
||||
an argument of @option{--} as signifying the end of options.
|
||||
|
||||
When the @code{[} form is used, the last argument to the command must
|
||||
be a @code{]}.
|
||||
@@ -3335,6 +3339,8 @@ even on systems where they are interpreted by default.
|
||||
The @code{xpg_echo} shell option may be used to
|
||||
dynamically determine whether or not @code{echo} expands these
|
||||
escape characters by default.
|
||||
@code{echo} does not interpret @option{--} to mean the end of options.
|
||||
|
||||
@code{echo} interprets the following escape sequences:
|
||||
@table @code
|
||||
@item \a
|
||||
|
||||
+14
-9
@@ -3449,7 +3449,7 @@ parent.
|
||||
@item printf
|
||||
@btindex printf
|
||||
@example
|
||||
@code{printf} @var{format} [@var{arguments}]
|
||||
@code{printf} [-v @var{var}] @var{format} [@var{arguments}]
|
||||
@end example
|
||||
Write the formatted @var{arguments} to the standard output under the
|
||||
control of the @var{format}.
|
||||
@@ -3467,6 +3467,9 @@ beginning with @samp{\0} may contain up to four digits),
|
||||
and @samp{%q} causes @code{printf} to output the
|
||||
corresponding @var{argument} in a format that can be reused as shell input.
|
||||
|
||||
The @option{-v} option causes the output to be assigned to the variable
|
||||
@var{var} rather than being printed to the standard output.
|
||||
|
||||
The @var{format} is reused as necessary to consume all of the @var{arguments}.
|
||||
If the @var{format} requires more @var{arguments} than are supplied, the
|
||||
extra format specifications behave as if a zero value or null string, as
|
||||
@@ -3746,6 +3749,11 @@ on an empty line.
|
||||
If set, Bash matches filenames in a case-insensitive fashion when
|
||||
performing filename expansion.
|
||||
|
||||
@item nocasematch
|
||||
If set, Bash matches patterns in a case-insensitive fashion when
|
||||
performing matching while executing @code{case} or @code{[[}
|
||||
conditional commands.
|
||||
|
||||
@item nullglob
|
||||
If set, Bash allows filename patterns which match no
|
||||
files to expand to a null string, rather than themselves.
|
||||
@@ -5627,6 +5635,8 @@ referencing element zero.
|
||||
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.
|
||||
@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.
|
||||
@@ -5919,7 +5929,8 @@ is stopped is `Stopped(@var{signame})', where @var{signame} is, for
|
||||
example, @code{SIGTSTP}.
|
||||
|
||||
@item
|
||||
Reserved words may not be aliased.
|
||||
Reserved words appearing in a context where reserved words are recognized
|
||||
do not undergo alias expansion.
|
||||
|
||||
@item
|
||||
The @sc{posix} 1003.2 @env{PS1} and @env{PS2} expansions of @samp{!} to
|
||||
@@ -5980,12 +5991,6 @@ the POSIX.2 standard, and include things like passing incorrect options,
|
||||
redirection errors, variable assignment errors for assignments preceding
|
||||
the command name, and so on.
|
||||
|
||||
@item
|
||||
If the @code{cd} builtin finds a directory to change to
|
||||
using @env{$CDPATH}, the
|
||||
value it assigns to the @env{PWD} variable does not contain any
|
||||
symbolic links, as if @samp{cd -P} had been executed.
|
||||
|
||||
@item
|
||||
If @env{CDPATH} is set, the @code{cd} builtin will not implicitly
|
||||
append the current directory to it. This means that @code{cd} will
|
||||
@@ -6067,7 +6072,7 @@ does not refer to an existing directory, @code{cd} will fail instead of
|
||||
falling back to @var{physical} mode.
|
||||
|
||||
@item
|
||||
When the @code{pwd} builtin is supplied the @opt{-P} option, it resets
|
||||
When the @code{pwd} builtin is supplied the @option{-P} option, it resets
|
||||
@code{$PWD} to a pathname containing no symlinks.
|
||||
|
||||
@item
|
||||
|
||||
+3
-4
@@ -2,10 +2,9 @@
|
||||
Copyright (C) 1988-2005 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Wed Mar 23 20:57:44 EST 2005
|
||||
|
||||
@set LASTCHANGE Sat Apr 30 19:08:57 EDT 2005
|
||||
|
||||
@set EDITION 3.1-devel
|
||||
@set VERSION 3.1-devel
|
||||
@set UPDATED 23 March 2005
|
||||
@set UPDATED-MONTH March 2005
|
||||
@set UPDATED 30 April 2005
|
||||
@set UPDATED-MONTH April 2005
|
||||
|
||||
+4
-3
@@ -2,9 +2,10 @@
|
||||
Copyright (C) 1988-2005 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Feb 18 22:22:06 EST 2005
|
||||
@set LASTCHANGE Wed Mar 23 20:57:44 EST 2005
|
||||
|
||||
|
||||
@set EDITION 3.1-devel
|
||||
@set VERSION 3.1-devel
|
||||
@set UPDATED 18 February 2005
|
||||
@set UPDATED-MONTH February 2005
|
||||
@set UPDATED 23 March 2005
|
||||
@set UPDATED-MONTH March 2005
|
||||
|
||||
Reference in New Issue
Block a user