• In POSIX sh, unary -v (in place of [ -n "${var+x}" ]) is undefined.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions:
  • Related resources: