2000
Best practice
Informational
See if you can use ${#variable} instead.
Bash, zsh, ksh: regardless what Shell you use, Codiga got you covered. With hundreds of rules, the Codiga Static Engine checks for any issue in your shell script and surfaces issues in your Shell codebase.
See if you can use ${#variable} instead.
expr is antiquated. Consider rewriting this using $((..))
Use $(...) notation instead of legacy backticked `...`.
egrep is non-standard and deprecated. Use grep -E instead.
We use cookies to improve your site experience, including analytics cookies to understand how you use our product and design better experiences. Please read our Cookie Policy.