autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: limitations of $(( )) ?


From: Bruce Korb
Subject: Re: limitations of $(( )) ?
Date: Fri, 31 Dec 2004 16:29:58 -0800
User-agent: KMail/1.6.2

On Friday 31 December 2004 03:20 pm, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> The autoconf manual mentions nothing about the limitations of $(( ))
> arithmetic expansion, other than the fact that $( ) command substition can
> be confused with it when using subshells.  POSIX requires arithmetic
> expansion, but not all historical shells had it.  I think it should be
> mentioned in the shell substitutions section (10.5) of the manual, since
> ash (the current default cygwin /bin/sh) has an unusual behavior, and
> since Solaris 8 /bin/sh rejects it.  I encountered this when investigating
> failures of shell scripts generated as part of the autogen package.

Or the test that was still using it.  Thank you  :-)
I've now removed it from the enumeration option test.

Cheers - Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]