mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-12 13:10:45 +02:00
commit bash-20210301 snapshot
This commit is contained in:
+12
-2
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Sun Feb 28 16:42:54 EST 2021
|
||||
.\" Last Change: Thu Mar 4 15:52:34 EST 2021
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2021 February 28" "GNU Bash 5.1"
|
||||
.TH BASH 1 "2021 March 4" "GNU Bash 5.1"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -958,6 +958,16 @@ command (see above).
|
||||
\fINAME\fP is a shell variable name.
|
||||
If \fINAME\fP is not supplied, the default name is \fBCOPROC\fP.
|
||||
.PP
|
||||
The recommended form to use for a coprocess is
|
||||
.RS
|
||||
.PP
|
||||
\fBcoproc\fP \fINAME\fP { \fIcommand\fP [\fIredirections\fP]; }
|
||||
.RE
|
||||
.PP
|
||||
This form is recommended because simple commands result in the coprocess
|
||||
always being named \fBCOPROC\fP, and it is simpler to use and more complete
|
||||
than the other compound commands.
|
||||
.PP
|
||||
If \fIcommand\fP is a compound command, \fINAME\fP is optional. The
|
||||
word following \fBcoproc\fP determines whether that word is interpreted
|
||||
as a variable name: it is interpreted as \fINAME\fP if it is not a
|
||||
|
||||
Reference in New Issue
Block a user