[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/4] Accept environment variables on the command line for Xen

From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH 2/4] Accept environment variables on the command line for Xen.
Date: Thu, 12 Dec 2013 20:50:39 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

On 12.12.2013 20:12, Colin Watson wrote:
> On Thu, Dec 12, 2013 at 06:58:23PM +0100, Vladimir 'φ-coder/phcoder' 
> Serbinenko wrote:
>> My response was terse and it seems that you misunderstood it, sorry. I
>> meant more along the lines that define:
>> cmdline.# as number of arguments
>> cmdline.1,..., cmdline.N are the raw arguments
>> cmdline.var.<name> are parsed variants of <name>=<value>
> That seems unnecessarily cumbersome.  I can see why you'd want them to
> be specifically identified, but why require the count rather than just
> taking as many arguments as are present?  I don't really see
> what you're trying to achieve here.
> (Also, cmdline.* is odd naming given that the whole thing arrives on a
> command line anyway.)
As discussed on IRD what I meant is how command line is exported to GRUB
Colin proposed on IRC to use already existing $*, $@ and $# but it poses
other problems with shadowing in source, configfile, menuentry and function.
@Jordan: your opinion since you do a lot of GRUB scripting?

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]