[Top][All Lists]

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

Re: Variable assignment not working as expected

From: Alex Roman
Subject: Re: Variable assignment not working as expected
Date: Sat, 9 Jun 2007 03:01:12 -0400

On 09/06/07, Bean <address@hidden> 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?

then type set, it shows:


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...


Alex Roman <address@hidden>

reply via email to

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