<?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: getopts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getopts/m-p/4366606#M346763</link>
    <description>It would have been better to continue your related questions in your previous thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1317575" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1317575&lt;/A&gt;</description>
    <pubDate>Wed, 25 Feb 2009 20:49:18 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-02-25T20:49:18Z</dc:date>
    <item>
      <title>getopts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getopts/m-p/4366604#M346761</link>
      <description>I want to write a script to do the over the network ignite backups. What I want to do is the script checks if we supply options like -s, -a, -n through command line, if yes it uses them and if not, it uses the default values.&lt;BR /&gt;&lt;BR /&gt;I have done that by passing command line arguments but my manager doesnt want that. He wants to use the same option indicators as the original make_net_recovery commad. This way the input parameters don’t have to be in any required sequence.&lt;BR /&gt;&lt;BR /&gt;I just came to know it can be done with getopts, can some one please help me in writing the script?</description>
      <pubDate>Wed, 25 Feb 2009 19:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getopts/m-p/4366604#M346761</guid>
      <dc:creator>Waqar Razi</dc:creator>
      <dc:date>2009-02-25T19:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: getopts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getopts/m-p/4366605#M346762</link>
      <description>Hi Wagar:&lt;BR /&gt;&lt;BR /&gt;There is an example script in the manpages that should get you going:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60130/getopts.1.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60130/getopts.1.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 25 Feb 2009 19:52:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getopts/m-p/4366605#M346762</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-25T19:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: getopts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getopts/m-p/4366606#M346763</link>
      <description>It would have been better to continue your related questions in your previous thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1317575" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1317575&lt;/A&gt;</description>
      <pubDate>Wed, 25 Feb 2009 20:49:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getopts/m-p/4366606#M346763</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-25T20:49:18Z</dc:date>
    </item>
  </channel>
</rss>

