Gentoo Logo
Gentoo Spaceship




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
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ulrich Mueller <ulm@g.o>
Subject: Re: [RFC] check-reqs.eclass.patch
Date: Wed, 31 Aug 2011 21:03:29 +0200
>>>>> 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


Replies:
Re: [RFC] check-reqs.eclass.patch
-- Tomáš Chvátal
Re: [RFC] check-reqs.eclass.patch
-- Tomáš Chvátal
References:
[RFC] check-reqs.eclass.patch
-- Tomáš Chvátal
Re: [RFC] check-reqs.eclass.patch
-- Michał Górny
Re: [RFC] check-reqs.eclass.patch
-- Tomáš Chvátal
Re: [RFC] check-reqs.eclass.patch
-- Ulrich Mueller
Re: [RFC] check-reqs.eclass.patch
-- Tomáš Chvátal
Re: [RFC] check-reqs.eclass.patch
-- Michał Górny
Re: [RFC] check-reqs.eclass.patch
-- Alec Warner
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] check-reqs.eclass.patch
Next by thread:
Re: [RFC] check-reqs.eclass.patch
Previous by date:
Re: [RFC] check-reqs.eclass.patch
Next by date:
Re: [RFC] check-reqs.eclass.patch


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.