Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
>>>>> On Wed, 31 Aug 2011, Alec Warner wrote:
> Also it is my understanding that all tokens in $(()) go through
> expansion, so for instance:
> $(( 1024 * 1024 * size ))
> and
> $(( 1024 * 1024 * ${size})) are equivalent.
> Is this only in bash4?
It's like this since bash 2.05 at least.
> Do we have a style preference?
Personally, I'd prefer the first variant.
Ulrich
|
|