From: John Levon Subject: Re: getting etherboot compiling Date: Mon, 4 Feb 2008 17:14:00 +0000 Message-ID: <20080204171400.GC20778@totally.trollied.org.uk> References: <20080201181647.GA7841@totally.trollied.org.uk> <20080201182103.GB7841@totally.trollied.org.uk> <200802041124.06583.Christoph.Egger@amd.com> <18343.13528.850110.443359@mariner.uk.xensource.com> <20080204170304.GA20778@totally.trollied.org.uk> <18343.17991.634564.653349@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <18343.17991.634564.653349@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Jackson Cc: Christoph Egger , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Feb 04, 2008 at 05:07:19PM +0000, Ian Jackson wrote: > John Levon writes ("Re: [Xen-devel] getting etherboot compiling"): > > It's the variable substitution command, not understand by the 'real' > > Bourne shell > > You mean the ${...#...} construction in this line > echo " ETHERBOOT_ROM($nic,${makerom#*-p}) \\" > ? Yep. > This is specified in SuSv3 `Shell Command Language' section 2.6.2 > `Parameter Expansion', final part of the normative text. Original Bourne shell isn't SuSv3 (would be hard for that to be true :) Such standards allow a system to provide a way of choosing to opt into them. On Solaris, that involves fiddling with the path to pick the standard variants (adding /usr/xpg4/bin would do it I think). This was because SuS and other standards are incompatible with various bits of historical behaviour. regards john