Warn about read foo[i] expanding as glob (fixes #2345)

This commit is contained in:
Vidar Holen
2021-10-07 18:50:44 -07:00
parent 05bdeae3ab
commit 205ba429b3
3 changed files with 24 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
- SC2304-SC2306: Warn about unquoted globs in expr arguments
- SC2307: Warn about insufficient number of arguments to expr
- SC2308: Suggest other approaches for non-standard expr extensions
- SC2313: Warn about `read` with unquoted, array indexed variable
### Fixed
- SC2102 about repetitions in ranges no longer triggers on [[ -v arr[xx] ]]