<?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: scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782566#M77593</link>
    <description>This is what I get from that loop...&lt;BR /&gt;&lt;BR /&gt;manaus :/ # ./file&lt;BR /&gt;&amp;lt;1&amp;gt;&lt;BR /&gt;&amp;lt;2&amp;gt;&lt;BR /&gt;&amp;lt;2&amp;gt;&lt;BR /&gt;&amp;lt;3&amp;gt; &lt;BR /&gt;&lt;BR /&gt;in either case, supply the set -x output for a quicker investigation..&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
    <pubDate>Thu, 08 Aug 2002 16:41:27 GMT</pubDate>
    <dc:creator>Bill McNAMARA_1</dc:creator>
    <dc:date>2002-08-08T16:41:27Z</dc:date>
    <item>
      <title>scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782564#M77591</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I attach a script that download an Oracle utility. Download is ok, but the loop after the FTP session doesn't work! If the loop is before the FTP session, it is ok! Any explanation?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Troy.</description>
      <pubDate>Thu, 08 Aug 2002 16:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782564#M77591</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2002-08-08T16:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782565#M77592</link>
      <description>for I in  1 2 2 3&lt;BR /&gt;do&lt;BR /&gt; echo "&amp;lt;${I}&amp;gt;"&lt;BR /&gt;done&lt;BR /&gt; &lt;BR /&gt;As coded, this is looking for files named "1", "2", and "3" that are, presumably executeable.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;mark</description>
      <pubDate>Thu, 08 Aug 2002 16:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782565#M77592</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2002-08-08T16:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782566#M77593</link>
      <description>This is what I get from that loop...&lt;BR /&gt;&lt;BR /&gt;manaus :/ # ./file&lt;BR /&gt;&amp;lt;1&amp;gt;&lt;BR /&gt;&amp;lt;2&amp;gt;&lt;BR /&gt;&amp;lt;2&amp;gt;&lt;BR /&gt;&amp;lt;3&amp;gt; &lt;BR /&gt;&lt;BR /&gt;in either case, supply the set -x output for a quicker investigation..&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Thu, 08 Aug 2002 16:41:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782566#M77593</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-08-08T16:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782567#M77594</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;Remove the FTP session and run the script again. Without FTP I get: &lt;BR /&gt;linus:/tmp/tr #./patchsetlogs&lt;BR /&gt;+ PATCHSET_FTP=oracle-ftp.oracle.com&lt;BR /&gt;+ PATCHSET_UTIL=patchsets.sh&lt;BR /&gt;+ PATCHSET_DIR=apps/patchsets/PATCHSET_COMPARE_TOOL&lt;BR /&gt;+ PATCHSET_USER=anonymous&lt;BR /&gt;+ PATCHSET_PASS=troyan.krastev@ricoh-usa.com&lt;BR /&gt;+ + basename ./patchsetlogs&lt;BR /&gt;WORK_DIR=/tmp/patchsetlogs&lt;BR /&gt;+ INST_DIR=/cpapps&lt;BR /&gt;+ [ ! -d /tmp/patchsetlogs ]&lt;BR /&gt;+ cd /tmp/patchsetlogs&lt;BR /&gt;+ chmod 777 /tmp/patchsetlogs/patchsets.sh&lt;BR /&gt;+ echo &amp;lt;1&amp;gt;&lt;BR /&gt;&amp;lt;1&amp;gt;&lt;BR /&gt;+ echo &amp;lt;2&amp;gt;&lt;BR /&gt;&amp;lt;2&amp;gt;&lt;BR /&gt;+ echo &amp;lt;2&amp;gt;&lt;BR /&gt;&amp;lt;2&amp;gt;&lt;BR /&gt;+ echo &amp;lt;3&amp;gt;&lt;BR /&gt;&amp;lt;3&amp;gt;&lt;BR /&gt;Wich is wat I expect with FTP too. &lt;BR /&gt;&lt;BR /&gt;Troy</description>
      <pubDate>Thu, 08 Aug 2002 16:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782567#M77594</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2002-08-08T16:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782568#M77595</link>
      <description>This is wat I get with FTP:&lt;BR /&gt;linus:/tmp/tr #./patchsetlogs&lt;BR /&gt;+ PATCHSET_FTP=oracle-ftp.oracle.com&lt;BR /&gt;+ PATCHSET_UTIL=patchsets.sh&lt;BR /&gt;+ PATCHSET_DIR=apps/patchsets/PATCHSET_COMPARE_TOOL&lt;BR /&gt;+ PATCHSET_USER=anonymous&lt;BR /&gt;+ PATCHSET_PASS=troyan.krastev@ricoh-usa.com&lt;BR /&gt;+ + basename ./patchsetlogs&lt;BR /&gt;WORK_DIR=/tmp/patchsetlogs&lt;BR /&gt;+ INST_DIR=/cpapps&lt;BR /&gt;+ [ ! -d /tmp/patchsetlogs ]&lt;BR /&gt;+ [ ! -d /tmp/patchsetlogs ]&lt;BR /&gt;+ cd /tmp/patchsetlogs&lt;BR /&gt;+ ftp -i -n&lt;BR /&gt;+ 0&amp;lt;&amp;lt;&lt;BR /&gt;open oracle-ftp.oracle.com&lt;BR /&gt;user anonymous troyan.krastev@ricoh-usa.com&lt;BR /&gt;passive&lt;BR /&gt;cd apps/patchsets/PATCHSET_COMPARE_TOOL&lt;BR /&gt;get patchsets.sh&lt;BR /&gt;close&lt;BR /&gt;bye&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;        # make the utility executable&lt;BR /&gt;chmod 777 /tmp/patchsetlogs/patchsets.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;        # run the utility against every Instance&lt;BR /&gt;for I in  1 2 2 3&lt;BR /&gt;do&lt;BR /&gt;        echo "&amp;lt;&amp;gt;"&lt;BR /&gt;done&lt;BR /&gt;Passive mode on.&lt;BR /&gt;linus:/tmp/tr #&lt;BR /&gt;&lt;BR /&gt;Troy.</description>
      <pubDate>Thu, 08 Aug 2002 16:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782568#M77595</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2002-08-08T16:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782569#M77596</link>
      <description>try changing EOF to ENDOFFTP&lt;BR /&gt;&lt;BR /&gt;Bill&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Aug 2002 16:59:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782569#M77596</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-08-08T16:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782570#M77597</link>
      <description>Thanks Bill. Can you explain.&lt;BR /&gt;&lt;BR /&gt;Troy.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Aug 2002 17:07:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782570#M77597</guid>
      <dc:creator>Troyan Krastev</dc:creator>
      <dc:date>2002-08-08T17:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782571#M77598</link>
      <description>Most of the time it happens in "for" loop when you are using EOF. So, always try to use some other different EOFFTP instead of EOF.&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Zafar</description>
      <pubDate>Thu, 08 Aug 2002 19:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/scripting/m-p/2782571#M77598</guid>
      <dc:creator>Zafar A. Mohammed_1</dc:creator>
      <dc:date>2002-08-08T19:26:45Z</dc:date>
    </item>
  </channel>
</rss>

