• Use [ x = y ] to compare values (or quote '==' if literal).
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: