Hello Wolfgang Denk,

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

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

Regards,
Adarsh

On Mon, Oct 14, 2019 at 3:58 PM Wolfgang Denk <w...@denx.de> wrote:

> Dear Adarsh Babu Kalepalli,
>
> In message <
> cajgxa7c150ova0bhprowuizg+dvlrrerbqaoj96qxkwhhhz...@mail.gmail.com> you
> wrote:
> >
> > How do I delete a hush-shell local variable??
>
> You cannot.  Local variables can be set to an empty value, but they
> cannot be deleted.
>
> Note that there is no functional difference between a non-existing
> local variable and one with an empty value anyway.  Same as in other
> shells.
>
> 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
> Carelessly planned projects take three times longer to complete  than
> expected.  Carefully  planned  projects  take  four  times  longer to
> complete than expected, mostly  because  the  planners  expect  their
> planning to reduce the time it takes.
>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to