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
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-dev@g.o
From: Donnie Berkholz <dberkholz@g.o>
Subject: Re: [RFC] obs eclasses
Date: Tue, 13 Sep 2011 09:44:25 -0500
On 15:02 Tue 13 Sep     , Amadeusz Żołnowski wrote:
> Excerpts from Joshua Kinard's message of 2011-09-13 14:26:02 +0200:
> > > You don't need -n/-z with [[.
> > > 
> > >   [[ $var ]] == [[ -n $var ]]
> > >   [[ ! $var ]] == [[ -z $var ]]
> > 
> > What about other comparisons, like -f, -e, or -d?
> Same as inside [, but no need of quotes inside [[.
> > Also, is this a bash4-only thing, or bash3 and/or bash2 as well?
> I'm not sure.
> OT: When I was going through recruitment process, dberkholz pointed to
> me that I use things bash4-only. And again: why we need to stick to
> ancient 3 version? I would understand pseudo POSIX compatibility, but
> what is the benefit of bash3 compatibility while bash4 is stable
> already?

It's because people want to pretend that it's possible for incredibly 
outdated systems (those with bash-3 only) to be updated.

We're stuck in this limbo because "we" have apparently decided that just 
waiting a year, as we used to do, isn't good enough anymore; but at the 
same time, we don't have a better mechanism in place yet. So we're 
waffling around, doing nothing.


Donnie Berkholz
Council Member / Sr. Developer
Gentoo Linux
pgpTbUAl3iuF2.pgp (PGP signature)
Re: [RFC] obs eclasses
-- Patrick Lauer
[RFC] obs eclasses
-- Michal Hrusecky
Re: [RFC] obs eclasses
-- Amadeusz Żołnowski
Re: [RFC] obs eclasses
-- Joshua Kinard
Re: [RFC] obs eclasses
-- Amadeusz Żołnowski
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] obs eclasses
Next by thread:
Re: [RFC] obs eclasses
Previous by date:
Re: [PATCH eutils] Introduce has_iuse() for IUSE checks.
Next by date:
Re: [RFC] obs eclasses

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.