Date: Thu, 10 Jun 2010 17:18:54 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: sh ++/-- operators Message-ID: <20100610171854.69246a78@gumby.homeunix.com>
next in thread | raw e-mail | index | archive | help
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..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100610171854.69246a78>