Dear Adarsh,

In message <cajgxa7d3upkdncqegte1iporbpx8jy4q1mmyuwxqekvtubb...@mail.gmail.com> 
you wrote:
>
> > => localvar=
> > => showvar
> > HUSH_VERSION=0.01
> > target=pxe
> > devnum=1
> > localvar=hello
>
> When 'localvar' is assigned an empty value , the 'showvar' command
> displays the previously assigned 'hello'.

Sorry, I missed that detail.


> How do we set an empty value to a hush shell local variable ??

You are right, this is a real bug. Not even using an explicit empty
string argument does work here:

U-Boot> foo=hello
U-Boot> showvar
HUSH_VERSION=0.01
foo=hello
U-Boot> foo=''
U-Boot> showvar
HUSH_VERSION=0.01
foo=hello



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
It is better to marry than to burn.
                                - Bible ``I Corinthians'' ch. 7, v. 9
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to