mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-14 23:50:49 +02:00
Bash-5.3-alpha release
This commit is contained in:
@@ -237,6 +237,15 @@ POSIX=/usr/posix
|
||||
expect '<10>'
|
||||
recho ${#POSIX}
|
||||
|
||||
# this was a problem through bash-5.2 -- it would skip random numbers because
|
||||
# of multiple calls to find_variable
|
||||
RANDOM=42
|
||||
expect '<5>'
|
||||
recho ${#RANDOM} # 17772
|
||||
declare -i RANDOM=42
|
||||
expect '<5>'
|
||||
recho ${#RANDOM} # 17772
|
||||
|
||||
# remove shortest trailing match
|
||||
x=file.c
|
||||
expect '<file.o>'
|
||||
|
||||
Reference in New Issue
Block a user