<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: For loop in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036181#M95232</link>
    <description>Cool&lt;BR /&gt;Thank you</description>
    <pubDate>Mon, 26 Mar 2007 04:22:22 GMT</pubDate>
    <dc:creator>Piotr Kirklewski</dc:creator>
    <dc:date>2007-03-26T04:22:22Z</dc:date>
    <item>
      <title>For loop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036177#M95228</link>
      <description>Hi there&lt;BR /&gt;I have a simple loop&lt;BR /&gt;&lt;BR /&gt;#! /sbin/sh&lt;BR /&gt;&lt;BR /&gt;for i in 1 2 3  4 5 6 7 8 9 10&lt;BR /&gt;do &lt;BR /&gt;echo $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;The thing is, i nead this command to be repeated 1000 times.&lt;BR /&gt;&lt;BR /&gt;Is there any way to do this without puting 1 2 3 ... 1000 ?&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Mon, 26 Mar 2007 04:05:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036177#M95228</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2007-03-26T04:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: For loop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036178#M95229</link>
      <description>Hi,&lt;BR /&gt;don't know about for loop, but with while:&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;i=1&lt;BR /&gt;while [ $i -le 1000 ]&lt;BR /&gt;do&lt;BR /&gt;echo $i&lt;BR /&gt;i=`expr $i + 1`&lt;BR /&gt;done</description>
      <pubDate>Mon, 26 Mar 2007 04:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036178#M95229</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-26T04:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: For loop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036179#M95230</link>
      <description>Hi (again),&lt;BR /&gt;after some searching !&lt;BR /&gt;&lt;BR /&gt;Or you change shell, please see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=186099" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=186099&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Mar 2007 04:20:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036179#M95230</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-03-26T04:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: For loop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036180#M95231</link>
      <description>Hey&lt;BR /&gt;&lt;BR /&gt;integer i = 1&lt;BR /&gt;&lt;BR /&gt;while ((i&amp;lt;=1000))&lt;BR /&gt;do&lt;BR /&gt;echo ${i}&lt;BR /&gt;i=((${i+}1))&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Don't forget to assign points, also in your earlier threads!&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 26 Mar 2007 04:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036180#M95231</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-03-26T04:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: For loop</title>
      <link>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036181#M95232</link>
      <description>Cool&lt;BR /&gt;Thank you</description>
      <pubDate>Mon, 26 Mar 2007 04:22:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/for-loop/m-p/5036181#M95232</guid>
      <dc:creator>Piotr Kirklewski</dc:creator>
      <dc:date>2007-03-26T04:22:22Z</dc:date>
    </item>
  </channel>
</rss>

