• Shells disambiguate $(( differently or not at all. For $(command substitution), add space after $( . For $((arithmetics)), fix parsing errors.
  • Problematic code:
  • Correct code:
  • Rationale:
  • Exceptions: