Consider using find
instead of ls
to better handle non-alphanumeric filenames
SH-2012
Bug risk
Critical
2
Double quote array expansions to avoid re-splitting elements
SH-2068
Bug risk
Critical
3
Variables must be defined before use
SH-2154
Bug risk
Critical
1
Consider quoting command expansion to prevent word splitting
SH-2046
Bug risk
Major
1
Use double quote to prevent globbing and word splitting
SH-2086
Bug risk
Major
6