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

Sure, no problems.
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Tuesday, May 15, 2007 10:24 AM Cc: Leonid; u-boot-users@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
participants (2)
-
Leonid
-
Wolfgang Denk