FreeBSD's sh (in 8.0) doesn't seem to support the ++ or -- arithmetic operators $ echo "$((n++))" arithmetic expression: syntax error: "n++" Am I wrong in thinking these are POSIX operators? It seems odd if they were simply left-out..