facebook pixelCodiga Analysis Shell Rules, severity informational , category best practice
BACK TO LIST

Shell rules

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.

2000

Best practice
Informational

See if you can use ${#variable} instead.

Learn more

2003

Best practice
Informational

expr is antiquated. Consider rewriting this using $((..))

2006

Best practice
Informational

Use $(...) notation instead of legacy backticked `...`.

2196

Best practice
Informational

egrep is non-standard and deprecated. Use grep -E instead.