sh ++/-- operators

2010-06-10 Thread RW
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.. ___

Re: sh ++/-- operators

2010-06-10 Thread Dan Nelson
In the last episode (Jun 10), RW said: 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.. Easy enough