grub-devel
[Top][All Lists]
Advanced

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

Re: var=foo should be valid?


From: Carles Pina i Estany
Subject: Re: var=foo should be valid?
Date: Sun, 29 Nov 2009 18:45:03 +0000
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

On Nov/29/2009, Carles Pina i Estany wrote:

> Right now in Grub2 a user could do:
> name=john
> set name=john
> 
> both are valid.
> 
> (first one has a bug but very easy to fix, even thought I would maybe
> refactor this code to implement in other way)
> 
> Question that arised in IRC: should be support the first one or not? Two
> interfaces for the same thing?

my opinion: doesn't matter (a lot)

And because "doesn't matter": we can only accept "set name=john".

So we avoid bugs like it happened now, more simple and users wondering
"if there are two ways means that set is doing something that it's not
happening in name=foo, maybe setting a reference and not copying the
string*? maybe exporting**?".

*: happens in VBA
**: someone could think that if we accept without and with set it's
exporting like export name=foo in Bash

-- 
Carles Pina i Estany
        http://pinux.info




reply via email to

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