fix to make += work with dynamic integer vars like RANDOM

This commit is contained in:
Chet Ramey
2021-12-13 09:37:23 -05:00
parent e93bed95a8
commit 567c0bc2ed
12 changed files with 190 additions and 192 deletions
+3 -3
View File
@@ -2014,14 +2014,14 @@ builtin command when no arguments are supplied.
.TP
.B SECONDS
Each time this parameter is
referenced, the number of seconds since shell invocation is returned. If a
value is assigned to
referenced, it expands to the number of seconds since shell invocation.
If a value is assigned to
.SM
.BR SECONDS ,
the value returned upon subsequent
references is
the number of seconds since the assignment plus the value assigned.
The number of seconds at shell invocation and the current time is always
The number of seconds at shell invocation and the current time are always
determined by querying the system clock.
If
.SM