Dne 31.8.2011 21:03, Ulrich Mueller napsal(a):
>>>>>> 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
>
I thought it is mandatory to use the second variant, otherwise i preffer
the first myself as it is from bash 2 or so :)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to