From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-boot] shell script syntax
Date: Mon, 22 Jul 2013 14:05:16 +0200 [thread overview]
Message-ID: <20130722140516.34427245@lilith> (raw)
In-Reply-To: <FE7ADED5C2218B4786C09CD97DC4C49F99D8BC@exchbj02.viatech.com.bj>
Hi TigerLiu at viatech.com.cn,
On Mon, 22 Jul 2013 19:44:18 +0800, <TigerLiu@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.
>
> I think "for" iteration syntax is error:
> "for(i=1;i<10;i++)"
>
> But I don't know how to write it correctly!
This is why I suggested that you experiment in your U-Boot console,
where you can quickly try things. One thing I'd test first is whether
your C-like use of 'for' is valid at all for Hush, or for Bourne shell
(from which Hush derives IIUC) -- I suspect it might not be.
> Best wishes,
Amicalement,
--
Albert.
next prev parent reply other threads:[~2013-07-22 12:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 9:46 [U-Boot] [U-boot] shell script syntax TigerLiu at viatech.com.cn
2013-07-22 10:24 ` Albert ARIBAUD
2013-07-22 11:06 ` TigerLiu at viatech.com.cn
2013-07-22 11:29 ` Albert ARIBAUD
2013-07-22 11:44 ` TigerLiu at viatech.com.cn
2013-07-22 12:05 ` Albert ARIBAUD [this message]
2013-07-22 13:10 ` James Chargin
2013-07-25 5:16 ` TigerLiu at viatech.com.cn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130722140516.34427245@lilith \
--to=albert.u.boot@aribaud.net \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.