<?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: problem with exiting from function in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-exiting-from-function/m-p/5093636#M725460</link>
    <description>sorry, my bad, I was tee'ng a function that was throwing me off ...&lt;BR /&gt;closing the thread.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
    <pubDate>Wed, 20 Feb 2008 18:50:16 GMT</pubDate>
    <dc:creator>Shabu Khan-2</dc:creator>
    <dc:date>2008-02-20T18:50:16Z</dc:date>
    <item>
      <title>problem with exiting from function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-exiting-from-function/m-p/5093634#M725458</link>
      <description>&lt;BR /&gt;I've done this so many times in the past with no problems, not sure if this has to do with the linux host that I am running on ... but thought I'll post it here.&lt;BR /&gt;&lt;BR /&gt;I've multiple functions:&lt;BR /&gt;function1()&lt;BR /&gt;{&lt;BR /&gt;  processing ....&lt;BR /&gt;  if something; then&lt;BR /&gt;    echo ...&lt;BR /&gt;    exit 0&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;similar ...&lt;BR /&gt;&lt;BR /&gt;if [ ${#} -eq "3" ]; then&lt;BR /&gt;   do this ...&lt;BR /&gt;   call function1&lt;BR /&gt;   call function2&lt;BR /&gt; elif....&lt;BR /&gt;   .....&lt;BR /&gt;   function1&lt;BR /&gt;   function3&lt;BR /&gt;........&lt;BR /&gt;........&lt;BR /&gt;&lt;BR /&gt;function1 does not exit even though I've an exit statement, it comes back to where I called from and processes the next function which shouldn't happen right?&lt;BR /&gt;&lt;BR /&gt;any thoughts?</description>
      <pubDate>Wed, 20 Feb 2008 18:32:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-exiting-from-function/m-p/5093634#M725458</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2008-02-20T18:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem with exiting from function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-exiting-from-function/m-p/5093635#M725459</link>
      <description>&lt;BR /&gt;what I meant was I want the script to exit, so basically quit while encountering a particular scenario while in function1 ...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Wed, 20 Feb 2008 18:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-exiting-from-function/m-p/5093635#M725459</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2008-02-20T18:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: problem with exiting from function</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-exiting-from-function/m-p/5093636#M725460</link>
      <description>sorry, my bad, I was tee'ng a function that was throwing me off ...&lt;BR /&gt;closing the thread.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Shabu</description>
      <pubDate>Wed, 20 Feb 2008 18:50:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-exiting-from-function/m-p/5093636#M725460</guid>
      <dc:creator>Shabu Khan-2</dc:creator>
      <dc:date>2008-02-20T18:50:16Z</dc:date>
    </item>
  </channel>
</rss>

