From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Chargin Date: Mon, 22 Jul 2013 06:10:17 -0700 Subject: [U-Boot] [U-boot] shell script syntax In-Reply-To: References: Message-ID: <51ED2F39.6070809@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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, TigerLiu at 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! > > Best wishes, > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > -- Jim Chargin AJA Video Systems jimc at aja.com (530) 271-3334 http://www.aja.com