Hi, James:
>Try something like
>=> for i in a b c; do
> > echo $i
> > done
>a
>b
>c
>=>
Your suggestion is right!
Thank you!
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Hi tiger...@viatech.com.cn,
On Mon, 22 Jul 2013 19:44:18 +0800, wrote:
> Hi, Albert:
> >Did you try the commands live in your U-Boot console?
> >Did you make sure hush shell is enabled in your U-boot?
> I am sure I have enabled hush shell.
>
> I think "for" iteration syntax is error:
> "for(i=1
Hi, Albert:
>See the Denx U-Boot documentation, more precisely:
>http://www.denx.de/wiki/view/DULG/CommandLineParsing#Section_14.2.17.
>From this web page, it seems hush-shell support "for" iteration.
So, i wrote a simple script as below:
for(i=1;i<10;i++)
do
echo "lion-0722"
done
Then, i used
Hi, experts:
It seems u-boot script does not support "for / goto" etc syntax?
So, I could not use script to let one cmd run many times?
Best wishes,
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Try something like
=> for i in a b c; do
> echo $i
> done
a
b
c
=>
Regards,
Jim
On 07/22/2013 04:44 AM, tiger...@viatech.com.cn wrote:
Hi, Albert:
Did you try the commands live in your U-Boot console?
Did you make sure hush shell is enabled in your U-boot?
I am sure I have enabled hush shell
Hi, Albert:
>Did you try the commands live in your U-Boot console?
>Did you make sure hush shell is enabled in your U-boot?
I am sure I have enabled hush shell.
I think "for" iteration syntax is error:
"for(i=1;i<10;i++)"
But I don't know how to write it correctly!
Best wishes,
_
Hi tiger...@viatech.com.cn,
On Mon, 22 Jul 2013 19:06:33 +0800, wrote:
> Hi, Albert:
> >See the Denx U-Boot documentation, more precisely:
> >http://www.denx.de/wiki/view/DULG/CommandLineParsing#Section_14.2.17.
> From this web page, it seems hush-shell support "for" iteration.
> So, i wrote a s
Hi tiger...@viatech.com.cn,
On Mon, 22 Jul 2013 17:46:38 +0800, wrote:
> Hi, experts:
>
> It seems u-boot script does not support "for / goto" etc syntax?
>
> So, I could not use script to let one cmd run many times?
See the Denx U-Boot documentation, more precisely:
http://www.denx.de/wiki/
8 matches
Mail list logo