From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ip91c-0000Qz-FL for garchives@archives.gentoo.org; Mon, 05 Nov 2007 20:58:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lA5KvWgE015630; Mon, 5 Nov 2007 20:57:32 GMT Received: from osiris.cheops.ods.org (osiris.cheops.ods.org [80.127.25.226]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lA5Ktggk013321 for ; Mon, 5 Nov 2007 20:55:42 GMT Received: from tefnut.cheops.ods.org ([2001:888:1022:0:211:24ff:fe37:e46e] helo=gentoo.org) by osiris.cheops.ods.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Ip8yz-0003BX-LI for gentoo-dev@lists.gentoo.org; Mon, 05 Nov 2007 21:55:41 +0100 Date: Mon, 5 Nov 2007 21:55:41 +0100 From: Fabian Groffen To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] POSIX shell and "portable" Message-ID: <20071105205541.GL29467@gentoo.org> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <200711021730.21089.bo.andresen@zlin.dk> <1194022333.3029.3.camel@uberpc.marples.name> <200711021817.32146.bo.andresen@zlin.dk> <1194024908.3029.6.camel@uberpc.marples.name> <20071103001922.GD1907@gentoo.org> <1194050878.16405.10.camel@uberpc.marples.name> <1194254556.6977.46.camel@sapc154> <1194257626.4196.9.camel@uberlaptop.marples.name> <1194268910.6977.86.camel@sapc154> <1194294729.2906.17.camel@uberpc.marples.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1194294729.2906.17.camel@uberpc.marples.name> User-Agent: Mutt/1.5.17 (Darwin 8.10.0, VIM - Vi IMproved 7.1) Organization: Gentoo Foundation, Inc. X-Archives-Salt: c8f94f10-6c76-41ca-b72a-c6ba331bc604 X-Archives-Hash: 6d6fc3c569237108eecabe41c05b2eb7 On 05-11-2007 20:32:09 +0000, Roy Marples wrote: > > > > More (generic) unix-able. > > > > > > Exactly so :) > > > > Not really as long as not being bourne shell compatible like autoconf's > > configure. I won't trust to have a POSIX shell like /bin/ksh everywhere, > > but /bin/sh only, which usually is just a bourne shell on "unix". > > As I said above, portage could change this. > Think of it as an #ifdef :) We already (have to) do this, and it is not as trivial as you think. Though, as Mike pointed out, we sort of all agree that scripts outside of portage should be POSIX sh. -- Fabian Groffen Gentoo on a different level -- gentoo-dev@gentoo.org mailing list