• For file existence, prefer standard -e over legacy -a.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: