• Use [ -n .. ] instead of ! [ -z .. ].
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: