• Use [ "$var" -ne 1 ] instead of [ ! "$var" -eq 1 ]
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: