<?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 case statement in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/case-statement/m-p/3784553#M99470</link>
    <description>I have a case statement&lt;BR /&gt;&lt;BR /&gt;while getopts dh options 2&amp;gt;/dev/null&lt;BR /&gt;do&lt;BR /&gt;    case $options in&lt;BR /&gt;    d)  debug;;&lt;BR /&gt;    h)  usage;;&lt;BR /&gt;    *)  fun1, fun2 ;;&lt;BR /&gt;   esac&lt;BR /&gt;    shift&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;it seems to execute fun1 only, but not fun2, is that how case behave?&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 08 May 2006 16:32:38 GMT</pubDate>
    <dc:creator>Gemini_2</dc:creator>
    <dc:date>2006-05-08T16:32:38Z</dc:date>
    <item>
      <title>case statement</title>
      <link>https://community.hpe.com/t5/operating-system-linux/case-statement/m-p/3784553#M99470</link>
      <description>I have a case statement&lt;BR /&gt;&lt;BR /&gt;while getopts dh options 2&amp;gt;/dev/null&lt;BR /&gt;do&lt;BR /&gt;    case $options in&lt;BR /&gt;    d)  debug;;&lt;BR /&gt;    h)  usage;;&lt;BR /&gt;    *)  fun1, fun2 ;;&lt;BR /&gt;   esac&lt;BR /&gt;    shift&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;it seems to execute fun1 only, but not fun2, is that how case behave?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 May 2006 16:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/case-statement/m-p/3784553#M99470</guid>
      <dc:creator>Gemini_2</dc:creator>
      <dc:date>2006-05-08T16:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: case statement</title>
      <link>https://community.hpe.com/t5/operating-system-linux/case-statement/m-p/3784554#M99471</link>
      <description>Your statement:&lt;BR /&gt; &lt;BR /&gt;*) fun1, fun2 ;;&lt;BR /&gt; &lt;BR /&gt;is not quite right. If you want to run several command or functions with the *) option, it would look like this:&lt;BR /&gt; &lt;BR /&gt;*) fun1&lt;BR /&gt; fun2 ;;&lt;BR /&gt; &lt;BR /&gt;or&lt;BR /&gt; &lt;BR /&gt;*) fun1; fun2 ;;</description>
      <pubDate>Mon, 08 May 2006 16:41:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/case-statement/m-p/3784554#M99471</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-05-08T16:41:22Z</dc:date>
    </item>
  </channel>
</rss>

