Re: [U-Boot] [BUG] cmd : Local Hush Variable Could not be deleted

2019-10-15 Thread Wolfgang Denk
Dear Adarsh, In message 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

Re: [U-Boot] [BUG] cmd : Local Hush Variable Could not be deleted

2019-10-14 Thread Adarsh Babu Kalepalli
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, Ada

Re: [U-Boot] [BUG] cmd : Local Hush Variable Could not be deleted

2019-10-14 Thread Wolfgang Denk
Dear Adarsh Babu Kalepalli, In message 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 va