>>>>> 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