<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[For loops in scripts]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">Am I right in saying that the ash/sh terminals dont support the following syntax in for loops:</p>
<pre><code>#!/bin/ash
for((i = 0; i &lt;=9; i++ )); 
do
	echo $i
	#expled 0x$i0000
	#sleep 1s
done
</code></pre>
<p dir="auto">Do I just need to re-implement in a while loop?</p>
]]></description><link>http://community.onion.io/topic/856/for-loops-in-scripts</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 02:41:48 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/856.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 27 Jun 2016 15:18:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to For loops in scripts on Mon, 27 Jun 2016 15:18:41 GMT]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">Am I right in saying that the ash/sh terminals dont support the following syntax in for loops:</p>
<pre><code>#!/bin/ash
for((i = 0; i &lt;=9; i++ )); 
do
	echo $i
	#expled 0x$i0000
	#sleep 1s
done
</code></pre>
<p dir="auto">Do I just need to re-implement in a while loop?</p>
]]></description><link>http://community.onion.io/post/5958</link><guid isPermaLink="true">http://community.onion.io/post/5958</guid><dc:creator><![CDATA[Michael Vowles]]></dc:creator><pubDate>Mon, 27 Jun 2016 15:18:41 GMT</pubDate></item><item><title><![CDATA[Reply to For loops in scripts on Tue, 28 Jun 2016 09:08:44 GMT]]></title><description><![CDATA[<p dir="auto">what about this statement<br />
for i in <code>seq 4</code>;</p>
]]></description><link>http://community.onion.io/post/5963</link><guid isPermaLink="true">http://community.onion.io/post/5963</guid><dc:creator><![CDATA[Zafer Demirsoy]]></dc:creator><pubDate>Tue, 28 Jun 2016 09:08:44 GMT</pubDate></item></channel></rss>