• In POSIX sh, local is undefined.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: