From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R3UEa-00067b-P5 for garchives@archives.gentoo.org; Tue, 13 Sep 2011 14:45:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C316121C03A; Tue, 13 Sep 2011 14:45:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AC37621C108 for ; Tue, 13 Sep 2011 14:44:28 +0000 (UTC) Received: from localhost (66-191-141-186.static.roch.mn.charter.com [66.191.141.186]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: dberkholz) by smtp.gentoo.org (Postfix) with ESMTPSA id E42DD1B4011 for ; Tue, 13 Sep 2011 14:44:27 +0000 (UTC) Date: Tue, 13 Sep 2011 09:44:25 -0500 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] obs eclasses Message-ID: <20110913144425.GF31178@comet> References: <20110913111128.GA27880@misibook.miska.isageek.net> <1315912613-sup-7918@raeviah> <4E6F4BDA.70505@gentoo.org> <1315918003-sup-9563@raeviah> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dgjlcl3Tl+kb3YDk" Content-Disposition: inline In-Reply-To: <1315918003-sup-9563@raeviah> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: a91ec66e444bd6e75b3e81b5602a55ce --dgjlcl3Tl+kb3YDk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 15:02 Tue 13 Sep , Amadeusz =C5=BBo=C5=82nowski wrote: > Excerpts from Joshua Kinard's message of 2011-09-13 14:26:02 +0200: > > > You don't need -n/-z with [[. > > >=20 > > > [[ $var ]] =3D=3D [[ -n $var ]] > > > [[ ! $var ]] =3D=3D [[ -z $var ]] > >=20 > > What about other comparisons, like -f, -e, or -d? >=20 > Same as inside [, but no need of quotes inside [[. >=20 > > Also, is this a bash4-only thing, or bash3 and/or bash2 as well? >=20 > I'm not sure. >=20 > 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=C2=A0version? 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=20 outdated systems (those with bash-3 only) to be updated. We're stuck in this limbo because "we" have apparently decided that just=20 waiting a year, as we used to do, isn't good enough anymore; but at the=20 same time, we don't have a better mechanism in place yet. So we're=20 waffling around, doing nothing. --=20 Thanks, Donnie Donnie Berkholz Council Member / Sr. Developer Gentoo Linux Blog: http://dberkholz.com --dgjlcl3Tl+kb3YDk Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEABECAAYFAk5vbEkACgkQXVaO67S1rtsGvQCgtjXlWdjlgL4BgUyn4XhV+aY8 yQ8AnA2SnI1dOyOyIufZfN93J1iL2/El =HnY1 -----END PGP SIGNATURE----- --dgjlcl3Tl+kb3YDk--