[U-Boot-Users] u-boot HUSH scripting using local variables.

Leonid Leonid at a-k-a.net
Tue May 15 19:36:47 CEST 2007


Sure, no problems.

-----Original Message-----
From: wd at denx.de [mailto:wd at denx.de] 
Sent: Tuesday, May 15, 2007 10:24 AM
Cc: Leonid; u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] u-boot HUSH scripting using local variables.


I wrote:
>
> > " In the current implementation, the local variables space and
global
> > environment variables space are separated. Local variables are those
you
> > define by simply typing like name=value. To access a local variable
> > later on, you have to write '$name' or '${name}'; to execute the
> > contents of a variable directly you can type '$name' at the command
> > prompt."
> > 
> > ...which implies that local variables can be used to save commands
and
> > execute them later. It doesn't contradict with the statement in
previous
> > bullet that 
> 
> I don't see how you derive that. The  text  above  does  not  mention
> commands or execution.

Delete that part, please. I was reding a different part of the message
then. Sorry.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"He only drinks when he gets depressed." "Why does he get depressed?"
"Sometimes it's because he hasn't had a drink."
                                     - Terry Pratchett, _Men at Arms_




More information about the U-Boot mailing list