• In POSIX sh, FDs outside 0-9 are undefined.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: