On Wed, Nov 30, 2005 at 01:15:11PM +0100, Gerrit Pape wrote:
>
> > I use $(()) constructs very frequently to do shell script arithmetics.
> > I usually use the form $((x+<val>)), but I've seen others use the
> > $(($x+<val>)) form too.
> 
> I'm still not sure about this, how to interpret the specification.  It
> only talks about $((x)), not $((x+something)).

I agree with David's interpretation.  The standard has been changed to
explicitly state that $((x ...) needs to be supported.  I will be
implementing this soon.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to