• In POSIX sh, read without a variable is undefined.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions: