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
@@ -1078,12 +1078,12 @@ PPAARRAAMMEETTEERRSS
RREEPPLLYY Set to the line of input read by the rreeaadd builtin command when
no arguments are supplied.
SSEECCOONNDDSS
Each time this parameter is referenced, the number of seconds
since shell invocation is returned. If a value is assigned to
Each time this parameter is referenced, it expands to the number
of seconds since shell invocation. If a value is assigned to
SSEECCOONNDDSS, 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 determined by querying the system clock. If SSEECCOONNDDSS
are always determined by querying the system clock. If SSEECCOONNDDSS
is unset, it loses its special properties, even if it is subse-
quently reset.
SSHHEELLLLOOPPTTSS