mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-17 17:06:03 +02:00
commit bash-20040826 snapshot
This commit is contained in:
+15
-3
@@ -6,7 +6,7 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.CWRU.Edu
|
||||
.\"
|
||||
.\" Last Change: Mon Aug 16 23:07:25 EDT 2004
|
||||
.\" Last Change: Fri Aug 27 12:14:46 EDT 2004
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
@@ -1130,6 +1130,10 @@ Expands to the positional parameters, starting from one. When the
|
||||
expansion occurs within double quotes, each parameter expands to a
|
||||
separate word. That is, "\fB$@\fP" is equivalent to
|
||||
"\fB$1\fP" "\fB$2\fP" ...
|
||||
If the double-quoted expansion occurs within a word, the expansion of
|
||||
the first parameter is joined with the beginning part of the original
|
||||
word, and the expansion of the last parameter is joined with the last
|
||||
part of the original word.
|
||||
When there are no positional parameters, "\fB$@\fP" and
|
||||
.B $@
|
||||
expand to nothing (i.e., they are removed).
|
||||
@@ -1222,7 +1226,7 @@ The command argument to the \fB\-c\fP invocation option.
|
||||
.TP
|
||||
.B BASH_LINENO
|
||||
An array variable whose members are the line numbers in source files
|
||||
corresponding to each member of @var{FUNCNAME}.
|
||||
corresponding to each member of \fBFUNCNAME\fP.
|
||||
\fB${BASH_LINENO[\fP\fI$i\fP\fB]}\fP is the line number in the source
|
||||
file where \fB${FUNCNAME[\fP\fI$i + 1\fP\fB]}\fP was called.
|
||||
The corresponding source file name is \fB${BASH_SOURCE[\fP\fI$i + 1\fP\fB]}\fB.
|
||||
@@ -2035,7 +2039,12 @@ character of the
|
||||
.B IFS
|
||||
special variable, and ${\fIname\fP[@]} expands each element of
|
||||
\fIname\fP to a separate word. When there are no array members,
|
||||
${\fIname\fP[@]} expands to nothing. This is analogous to the expansion
|
||||
${\fIname\fP[@]} expands to nothing.
|
||||
If the double-quoted expansion occurs within a word, the expansion of
|
||||
the first parameter is joined with the beginning part of the original
|
||||
word, and the expansion of the last parameter is joined with the last
|
||||
part of the original word.
|
||||
This is analogous to the expansion
|
||||
of the special parameters \fB*\fP and \fB@\fP (see
|
||||
.B Special Parameters
|
||||
above). ${#\fIname\fP[\fIsubscript\fP]} expands to the length of
|
||||
@@ -3458,6 +3467,9 @@ If any \fIfile\fP argument to one of the primaries is of the form
|
||||
If the \fIfile\fP argument to one of the primaries is one of
|
||||
\fI/dev/stdin\fP, \fI/dev/stdout\fP, or \fI/dev/stderr\fP, file
|
||||
descriptor 0, 1, or 2, respectively, is checked.
|
||||
.PP
|
||||
Unless otherwise specified, primaries that operate on files follow symbolic
|
||||
links and operate on the target of the link, rather than the link itself.
|
||||
.sp 1
|
||||
.PD 0
|
||||
.TP
|
||||
|
||||
+5
-2
@@ -6,7 +6,7 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.CWRU.Edu
|
||||
.\"
|
||||
.\" Last Change: Mon Aug 16 23:07:25 EDT 2004
|
||||
.\" Last Change: Fri Aug 27 12:14:46 EDT 2004
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
@@ -3458,6 +3458,9 @@ If any \fIfile\fP argument to one of the primaries is of the form
|
||||
If the \fIfile\fP argument to one of the primaries is one of
|
||||
\fI/dev/stdin\fP, \fI/dev/stdout\fP, or \fI/dev/stderr\fP, file
|
||||
descriptor 0, 1, or 2, respectively, is checked.
|
||||
.PP
|
||||
Unless otherwise specified, primaries that operate on files follow symbolic
|
||||
links and operate on the target of the link, rather than the link itself.
|
||||
.sp 1
|
||||
.PD 0
|
||||
.TP
|
||||
@@ -8232,7 +8235,7 @@ command, and before the first command executes in a shell function (see
|
||||
.SM
|
||||
.B SHELL GRAMMAR
|
||||
above).
|
||||
Refer to the description of the \fBextglob\fP option to the
|
||||
Refer to the description of the \fBextdebug\fP option to the
|
||||
\fBshopt\fP builtin for details of its effect on the \fBDEBUG\fP trap.
|
||||
If a
|
||||
.I sigspec
|
||||
|
||||
+15
-2
@@ -1256,6 +1256,10 @@ Expands to the positional parameters, starting from one. When the
|
||||
expansion occurs within double quotes, each parameter expands to a
|
||||
separate word. That is, @code{"$@@"} is equivalent to
|
||||
@code{"$1" "$2" @dots{}}.
|
||||
If the double-quoted expansion occurs within a word, the expansion of
|
||||
the first parameter is joined with the beginning part of the original
|
||||
word, and the expansion of the last parameter is joined with the last
|
||||
part of the original word.
|
||||
When there are no positional parameters, @code{"$@@"} and
|
||||
@code{$@@}
|
||||
expand to nothing (i.e., they are removed).
|
||||
@@ -5201,6 +5205,9 @@ If the @var{file} argument to one of the primaries is one of
|
||||
@file{/dev/stdin}, @file{/dev/stdout}, or @file{/dev/stderr}, file
|
||||
descriptor 0, 1, or 2, respectively, is checked.
|
||||
|
||||
Unless otherwise specified, primaries that operate on files follow symbolic
|
||||
links and operate on the target of the link, rather than the link itself.
|
||||
|
||||
@table @code
|
||||
@item -a @var{file}
|
||||
True if @var{file} exists.
|
||||
@@ -5534,12 +5541,18 @@ The braces are required to avoid
|
||||
conflicts with the shell's filename expansion operators. If the
|
||||
@var{subscript} is @samp{@@} or @samp{*}, the word expands to all members
|
||||
of the array @var{name}. These subscripts differ only when the word
|
||||
appears within double quotes. If the word is double-quoted,
|
||||
appears within double quotes.
|
||||
If the word is double-quoted,
|
||||
@code{$@{name[*]@}} expands to a single word with
|
||||
the value of each array member separated by the first character of the
|
||||
@env{IFS} variable, and @code{$@{name[@@]@}} expands each element of
|
||||
@var{name} to a separate word. When there are no array members,
|
||||
@code{$@{name[@@]@}} expands to nothing. This is analogous to the
|
||||
@code{$@{name[@@]@}} expands to nothing.
|
||||
If the double-quoted expansion occurs within a word, the expansion of
|
||||
the first parameter is joined with the beginning part of the original
|
||||
word, and the expansion of the last parameter is joined with the last
|
||||
part of the original word.
|
||||
This is analogous to the
|
||||
expansion of the special parameters @samp{@@} and @samp{*}.
|
||||
@code{$@{#name[}@var{subscript}@code{]@}} expands to the length of
|
||||
@code{$@{name[}@var{subscript}@code{]@}}.
|
||||
|
||||
+8
-5
@@ -5201,6 +5201,9 @@ If the @var{file} argument to one of the primaries is one of
|
||||
@file{/dev/stdin}, @file{/dev/stdout}, or @file{/dev/stderr}, file
|
||||
descriptor 0, 1, or 2, respectively, is checked.
|
||||
|
||||
Unless otherwise specified, primaries that operate on files follow symbolic
|
||||
links and operate on the target of the link, rather than the link itself.
|
||||
|
||||
@table @code
|
||||
@item -a @var{file}
|
||||
True if @var{file} exists.
|
||||
@@ -6150,15 +6153,15 @@ Bash does not print another warning, and the stopped jobs are terminated.
|
||||
@item bg
|
||||
@btindex bg
|
||||
@example
|
||||
bg [@var{jobspec}]
|
||||
bg [@var{jobspec} @dots{}]
|
||||
@end example
|
||||
Resume the suspended job @var{jobspec} in the background, as if it
|
||||
Resume each suspended job @var{jobspec} in the background, as if it
|
||||
had been started with @samp{&}.
|
||||
If @var{jobspec} is not supplied, the current job is used.
|
||||
The return status is zero unless it is run when job control is not
|
||||
enabled, or, when run with job control enabled, if @var{jobspec} was
|
||||
not found or @var{jobspec} specifies a job that was started without
|
||||
job control.
|
||||
enabled, or, when run with job control enabled, if the last
|
||||
@var{jobspec} was not found or the last @var{jobspec} specifies a job
|
||||
that was started without job control.
|
||||
|
||||
@item fg
|
||||
@btindex fg
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@ Copyright (C) 1988-2004 Free Software Foundation, Inc.
|
||||
|
||||
@set EDITION 3.0
|
||||
@set VERSION 3.0
|
||||
@set UPDATED 16 August 2004
|
||||
@set UPDATED 27 August 2004
|
||||
@set UPDATED-MONTH August 2004
|
||||
|
||||
@set LASTCHANGE Mon Aug 16 23:09:57 EDT 2004
|
||||
@set LASTCHANGE Fri Aug 27 12:15:06 EDT 2004
|
||||
|
||||
Reference in New Issue
Block a user