"Alex Roman" <[EMAIL PROTECTED]> writes:

> On 09/06/07, Bean <[EMAIL PROTECTED]> wrote:
>> I try the following command:
>>
>> set AA=1
>> set BB=$AA
>
> Taking a quick look at command.c where the "set" command is defined,
> it doesn't look like that feature is implemented. Even in grub_env_set
> in env.c it isn't implemented.
>
> I'm willing to implement this feature... Where do you, devs, think
> this would be better suited? In the set command, or in the
> grub_env_set function?

The problem is different.  The command line parser should insert this,
but currently can't deal with the case where text and variables are
concatenated, IIRC.

>> then type set, it shows:
>>
>> AA=1
>> BB=
>>
>> should the value of BB be 1 ?
>>
>> BTW, i notice that echo.c exists, but no echo.mod is generated.
>
> Because echo is such a "core" command it is built right into the kernel 
> AFAIK...

No, it's even a normal mode command.

--
Marco



_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to