Gentoo Archives: gentoo-dev

From: "Tomáš Chvátal" <scarabeus@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] check-reqs.eclass.patch
Date: Wed, 31 Aug 2011 19:10:42
Message-Id: 4E5E86FD.6010906@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] check-reqs.eclass.patch by Ulrich Mueller
1 Dne 31.8.2011 21:03, Ulrich Mueller napsal(a):
2 >>>>>> On Wed, 31 Aug 2011, Alec Warner wrote:
3 >> Also it is my understanding that all tokens in $(()) go through
4 >> expansion, so for instance:
5 >> $(( 1024 * 1024 * size ))
6 >> and
7 >> $(( 1024 * 1024 * ${size})) are equivalent.
8 >> Is this only in bash4?
9 > It's like this since bash 2.05 at least.
10 >
11 >> Do we have a style preference?
12 > Personally, I'd prefer the first variant.
13 >
14 > Ulrich
15 >
16 I thought it is mandatory to use the second variant, otherwise i preffer
17 the first myself as it is from bash 2 or so :)

Attachments

File name MIME type
signature.asc application/pgp-signature