fix for posix semantics for the := word expansion when assigning array elements

This commit is contained in:
Chet Ramey
2021-12-14 14:18:00 -05:00
parent 567c0bc2ed
commit 5f2dd5ff95
17 changed files with 165 additions and 23 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ An \fIinteractive\fP shell is one started without non-option arguments
(unless \fB\-s\fP is specified)
and without the
.B \-c
option
option,
whose standard input and error are
both connected to terminals (as determined by
.IR isatty (3)),
+3 -2
View File
@@ -7091,8 +7091,9 @@ the same, but the effective user id is not reset.
@subsection What is an Interactive Shell?
An interactive shell
is one started without non-option arguments, unless @option{-s} is
specified, without specifying the @option{-c} option, and
is one started without non-option arguments
(unless @option{-s} is specified)
and without specifying the @option{-c} option,
whose input and error output are both
connected to terminals (as determined by @code{isatty(3)}),
or one started with the @option{-i} option.