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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel