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 cmdline.foo 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
environment.
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

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to