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 <gentoo-dev+bounces-50197-garchives=archives.gentoo.org@lists.gentoo.org>) id 1S6tdk-00087A-0r for garchives@archives.gentoo.org; Mon, 12 Mar 2012 01:01:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1A1EE0AD2; Mon, 12 Mar 2012 01:01:17 +0000 (UTC) Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53]) by pigeon.gentoo.org (Postfix) with ESMTP id F30EBE080E for <gentoo-dev@lists.gentoo.org>; Mon, 12 Mar 2012 01:00:50 +0000 (UTC) Received: by dady25 with SMTP id y25so5054120dad.40 for <gentoo-dev@lists.gentoo.org>; Sun, 11 Mar 2012 18:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=FyFDWhSYKLlEcK/cK/6zsjzc9Zuz1vjncphe2D18ZFw=; b=EaGXx7Z/vqzw4y+yYcJKR/IO9Zg0RbbL1mkDVY+6TTPPH+6wRvXBlNzWoW+77fYeNy eV5ZEkAtqYOqkKFw8PfBIX0xcPmn2fI8CtBMWFbw7nabLKcqlLJnBfkpetokb/kLEERR nzsJn05XQewi7nm0osdImJEB/nnCQzGTZM1qPVgjM04ZKFBWLl2Ap03h5TjPWTTVmpuf 0FF+oaApyswxSLbVe3iRe/kv+73w4077gUY2yCoZOT90QEwoNUzKy/6m0TlTP5iLY/p8 BKe7PQzy+NU3Zunk7Z4sRNJ/+Cf8vC6cZFcjQmmoY0LVLCkNNWzfV3nCbqxv69FgOsw7 kBWg== Received: by 10.68.225.73 with SMTP id ri9mr16821067pbc.70.1331514050320; Sun, 11 Mar 2012 18:00:50 -0700 (PDT) Received: from smtp.gmail.com:587 (74-95-192-101-SFBA.hfc.comcastbusiness.net. [74.95.192.101]) by mx.google.com with ESMTPS id vy2sm9135879pbb.48.2012.03.11.18.00.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 11 Mar 2012 18:00:48 -0700 (PDT) Received: by smtp.gmail.com:587 (sSMTP sendmail emulation); Sun, 11 Mar 2012 18:00:46 -0700 Date: Sun, 11 Mar 2012 18:00:46 -0700 From: Brian Harring <ferringb@gmail.com> To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] RFD: EAPI specification in ebuilds Message-ID: <20120312010046.GC7579@localhost> References: <4F58FC55.7070005@orlitzky.com> <20120308184820.108fc30c@googlemail.com> <4F592612.6050203@orlitzky.com> <20120309060424.09cdce1e@pomiocik.lan> <4F599692.9050503@orlitzky.com> <20120309172921.281ee5a0@pomiocik.lan> <4F5A368D.2020605@orlitzky.com> <20314.14772.897891.110368@a1i15.kph.uni-mainz.de> <4F5A3E6C.4040900@orlitzky.com> <20120309185240.1ee1cb58@pomiocik.lan> Precedence: bulk List-Post: <mailto:gentoo-dev@lists.gentoo.org> List-Help: <mailto:gentoo-dev+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org> X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120309185240.1ee1cb58@pomiocik.lan> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 931e1b2c-d66e-42b3-ab9d-386c5c7bb8bc X-Archives-Hash: 7bddc870da218fd5ef99069ff73f34e5 On Fri, Mar 09, 2012 at 06:52:40PM +0100, Micha?? G??rny wrote: > On Fri, 09 Mar 2012 12:31:24 -0500 > Michael Orlitzky <michael@orlitzky.com> wrote: > > > On 03/09/12 12:11, Ulrich Mueller wrote: > > >>>>>> On Fri, 09 Mar 2012, Michael Orlitzky wrote: > > > > > >>> What if bash starts to parse the script completely and barfs at > > >>> 'syntax error' before it starts executing stuff? > > > > > >> It doesn't parse the script completely, it executes line-by-line, > > >> so we can bail out early. > > > > > > How can you tell that this behaviour won't be changed in a future > > > bash version? > > > > > > > Who's to say that in the future my computer won't be made out of > > delicious ice cream, eliminating the need for EAPIs entirely? > > > > Chances are, this would break thousands of scripts, so we hope they > > wouldn't do it. If it does happen, we either deal with it then, or > > don't upgrade to that version of bash -- the same as we would do with > > any other massive breaking change. > > Thousands of scripts? So... you're saying that people actually use > thousands of scripts which have invalid syntax... Just a note; you need to look into how aliases work. That right there unfortunately means bash isn't going to pre-parse, not as long as aliases are supported. Back to your arguing... ~brian