mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 20:00:49 +02:00
commit bash-20140625 snapshot
This commit is contained in:
+11
-5
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Mon May 12 10:32:53 EDT 2014
|
||||
.\" Last Change: Tue Jul 1 15:51:28 PDT 2014
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2014 May 12" "GNU Bash 4.3"
|
||||
.TH BASH 1 "2014 July 1" "GNU Bash 4.3"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -1226,7 +1226,7 @@ Assignment statements may also appear as arguments to the
|
||||
.BR readonly ,
|
||||
and
|
||||
.B local
|
||||
builtin commands.
|
||||
builtin commands (\fIdeclaration\fP commands).
|
||||
When in \fIposix mode\fP, these builtins may appear in a command after
|
||||
one or more instances of the \fBcommand\fP builtin and retain these
|
||||
assignment statement properties.
|
||||
@@ -1234,6 +1234,8 @@ assignment statement properties.
|
||||
In the context where an assignment statement is assigning a value
|
||||
to a shell variable or array index, the += operator can be used to
|
||||
append to or add to the variable's previous value.
|
||||
This includes arguments to builtin commands such as \fBdeclare\fP that
|
||||
accept assignment statements (\fIdeclaration\fP commands).
|
||||
When += is applied to a variable for which the \fIinteger\fP attribute has been
|
||||
set, \fIvalue\fP is evaluated as an arithmetic expression and added to the
|
||||
variable's current value, which is also evaluated.
|
||||
@@ -8329,10 +8331,10 @@ is supplied, or
|
||||
.B logout
|
||||
Exit a login shell.
|
||||
.TP
|
||||
\fBmapfile\fP [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP]
|
||||
\fBmapfile\fP [\fB\-d\fP \fIdelim\fP] [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP]
|
||||
.PD 0
|
||||
.TP
|
||||
\fBreadarray\fP [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP]
|
||||
\fBreadarray\fP [\fB\-d\fP \fIdelim\fP] [\fB\-n\fP \fIcount\fP] [\fB\-O\fP \fIorigin\fP] [\fB\-s\fP \fIcount\fP] [\fB\-t\fP] [\fB\-u\fP \fIfd\fP] [\fB\-C\fP \fIcallback\fP] [\fB\-c\fP \fIquantum\fP] [\fIarray\fP]
|
||||
.PD
|
||||
Read lines from the standard input into the indexed array variable
|
||||
.IR array ,
|
||||
@@ -8349,6 +8351,10 @@ Options, if supplied, have the following meanings:
|
||||
.RS
|
||||
.PD 0
|
||||
.TP
|
||||
.B \-d
|
||||
The first character of \fIdelim\fP is used to terminate each input line,
|
||||
rather than newline.
|
||||
.TP
|
||||
.B \-n
|
||||
Copy at most
|
||||
.I count
|
||||
|
||||
Reference in New Issue
Block a user