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
+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.