Subject: Re: /bin/sh vs. /bin/ksh arithmetic expressions....
To: NetBSD Userlevel Technical Discussion List <tech-userlevel@NetBSD.ORG>
From: David Laight <email@example.com>
Date: 06/17/2004 21:37:48
> On the other hand /bin/sh (at least on 1.6.2_STABLE) seems to have some
> kind of parsing problem with recognizing operators when there are no
> non-digit tokens surrounding them:
> $ /bin/sh -c 'echo $((06170718+10000))'
> arithmetic expression: syntax error: "06170718+10000"
Seems fine, '8' isn't an octal digit.
David Laight: firstname.lastname@example.org