<?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: about loop in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453674#M703801</link>
    <description>I mean&lt;BR /&gt;&lt;BR /&gt;if any one familer with visual basic&lt;BR /&gt;*********************************************&lt;BR /&gt;for x = 1 to 10&lt;BR /&gt;if (any condition) then&lt;BR /&gt;(do any thing)&lt;BR /&gt;next x ---&amp;gt; (this command return to x again without complete the next lines ).&lt;BR /&gt;end if&lt;BR /&gt;&lt;BR /&gt;(any thing)&lt;BR /&gt;next&lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i want to know what is this command in unix ?</description>
    <pubDate>Sun, 02 Jan 2005 13:32:16 GMT</pubDate>
    <dc:creator>kamal_15</dc:creator>
    <dc:date>2005-01-02T13:32:16Z</dc:date>
    <item>
      <title>about loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453669#M703796</link>
      <description>hi all&lt;BR /&gt;&lt;BR /&gt;Iam new in script&lt;BR /&gt;I create a simple script to list all files and directory in current dir&lt;BR /&gt;*********&lt;BR /&gt;for i in *&lt;BR /&gt;if [ -d $i ]&lt;BR /&gt;then &lt;BR /&gt;echo $i "Directory"&lt;BR /&gt;fi&lt;BR /&gt;------&amp;gt; I wnant to go next i and esc the next&lt;BR /&gt;(what command i put here to do that?)&lt;BR /&gt;echo $i&lt;BR /&gt;done&lt;BR /&gt;********************&lt;BR /&gt;thankx&lt;BR /&gt;&lt;BR /&gt;kamal</description>
      <pubDate>Sun, 02 Jan 2005 11:28:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453669#M703796</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-02T11:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: about loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453670#M703797</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Do I understand you correct ?&lt;BR /&gt;&lt;BR /&gt;Something like:&lt;BR /&gt;&lt;BR /&gt;for i in *&lt;BR /&gt;do&lt;BR /&gt;if [ -d $i ]&lt;BR /&gt;then &lt;BR /&gt;echo $i "Directory"&lt;BR /&gt;else&lt;BR /&gt;echo $i "File"&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Jan 2005 11:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453670#M703797</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2005-01-02T11:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: about loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453671#M703798</link>
      <description>thank u for your response&lt;BR /&gt;that is true in this example&lt;BR /&gt;but&lt;BR /&gt;in other case&lt;BR /&gt;if i want to esc the next lines and continue&lt;BR /&gt;next i&lt;BR /&gt;&lt;BR /&gt;is there any way to do that ?&lt;BR /&gt;&lt;BR /&gt;thankx</description>
      <pubDate>Sun, 02 Jan 2005 12:07:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453671#M703798</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-02T12:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: about loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453672#M703799</link>
      <description>Hi,&lt;BR /&gt;Could you please describe more in detail.&lt;BR /&gt;Which "lines" do you want to esc (skip ?) ?</description>
      <pubDate>Sun, 02 Jan 2005 12:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453672#M703799</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2005-01-02T12:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: about loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453673#M703800</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;perhaps this is what you are looking for:&lt;BR /&gt;&lt;BR /&gt;for i in *&lt;BR /&gt;if [ -d $i ]&lt;BR /&gt;then &lt;BR /&gt;echo $i "Directory"&lt;BR /&gt;fi&lt;BR /&gt;continue&lt;BR /&gt;echo $i&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;the code is not very useful but you might learn somthing by that.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Jan 2005 12:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453673#M703800</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2005-01-02T12:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: about loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453674#M703801</link>
      <description>I mean&lt;BR /&gt;&lt;BR /&gt;if any one familer with visual basic&lt;BR /&gt;*********************************************&lt;BR /&gt;for x = 1 to 10&lt;BR /&gt;if (any condition) then&lt;BR /&gt;(do any thing)&lt;BR /&gt;next x ---&amp;gt; (this command return to x again without complete the next lines ).&lt;BR /&gt;end if&lt;BR /&gt;&lt;BR /&gt;(any thing)&lt;BR /&gt;next&lt;BR /&gt;********************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i want to know what is this command in unix ?</description>
      <pubDate>Sun, 02 Jan 2005 13:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453674#M703801</guid>
      <dc:creator>kamal_15</dc:creator>
      <dc:date>2005-01-02T13:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: about loop</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453675#M703802</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I can give you two examples that will do the same job as the example in basic. Example two is a "direct" translation but the syntax in example 1 should be prefered.&lt;BR /&gt;&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;if [ (any condition) ]&lt;BR /&gt;then &lt;BR /&gt;(do something)&lt;BR /&gt;else&lt;BR /&gt;(do something else)&lt;BR /&gt;fi&lt;BR /&gt;done &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;if [ (any condition) ]&lt;BR /&gt;then &lt;BR /&gt;(do something)&lt;BR /&gt;continue&lt;BR /&gt;fi&lt;BR /&gt;(do something else)&lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;for x = 1 to 10&lt;BR /&gt;if (any condition) then&lt;BR /&gt;(do any thing)&lt;BR /&gt;next x ---&amp;gt; (this command return to x again without complete the next lines ).&lt;BR /&gt;end if&lt;BR /&gt;&lt;BR /&gt;(any thing)&lt;BR /&gt;next&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jan 2005 03:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/about-loop/m-p/3453675#M703802</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2005-01-03T03:55:02Z</dc:date>
    </item>
  </channel>
</rss>

