Daniel Shahaf <danie...@apache.org> writes: > SunOS 5.10's /bin/sh chokes: > > $ echo $((5*2)) > syntax error: `(' unexpected > > Daniel > (I didn't test it before because the host I used has a time-based login > policy)
SunOS's /bin/sh is Bourne, not POSIX. SunOS provides /usr/xpg4/bin/sh which is POSIX. -- Philip