You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid these kind of errors I've added bash version checking on script's startup. 4.0 is needed for associative arrays, =~ operator was added in 3.* so we should be good now.
So finally 3.* is not supported?
The text was updated successfully, but these errors were encountered:
To avoid these kind of errors I've added bash version checking on script's startup. 4.0 is needed for associative arrays, =~ operator was added in 3.* so we should be good now.
is in reference to two problems discussed in that issue, both of which were encountered when using older versions of Bash.
The first issue related to associative arrays, which require Bash 4+.
The second issue related to use of =~ matches which required Bash ~3+.
we should be good now implies that a version check for 4+ was considered sufficient to close the issue. There was no point trying to support =~, as that doesn't solve the requirement for associative arrays, which requires Bash version 4+.
If, in the future, older versions of Bash were to be supported, it would require a substantial rewrite to remove the use of assoc arrays.
It says LES supports only bash 4.0+ and I was running it on bash 3.1 so I understand.
But on #3 you said
So finally 3.* is not supported?
The text was updated successfully, but these errors were encountered: