<?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: set -n in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947261#M289705</link>
    <description>Nothing wrong the set -n command is behaving as expected.</description>
    <pubDate>Mon, 19 Feb 2007 11:06:10 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2007-02-19T11:06:10Z</dc:date>
    <item>
      <title>set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947260#M289704</link>
      <description>I need to debug a prod script and not execute it and when I put in a "set -n " for that it comes back to the prompt. Is there something wrong or do I need to do something else.</description>
      <pubDate>Mon, 19 Feb 2007 11:03:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947260#M289704</guid>
      <dc:creator>Hunki</dc:creator>
      <dc:date>2007-02-19T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947261#M289705</link>
      <description>Nothing wrong the set -n command is behaving as expected.</description>
      <pubDate>Mon, 19 Feb 2007 11:06:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947261#M289705</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-02-19T11:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947262#M289706</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Well, if nothing is returned, then syntatically the script is correct.  You probably want to add 'set -v' and 'set -x' to verbosely show the execution.  You can do:&lt;BR /&gt;&lt;BR /&gt;# sh -v -x ./myscript 2&amp;gt;&amp;amp;1 | more&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 19 Feb 2007 11:10:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947262#M289706</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-02-19T11:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947263#M289707</link>
      <description>so if it comes back to the prompt ...the syntax of the script is fine .. but how do I get a more descritive output.</description>
      <pubDate>Mon, 19 Feb 2007 11:10:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947263#M289707</guid>
      <dc:creator>Hunki</dc:creator>
      <dc:date>2007-02-19T11:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947264#M289708</link>
      <description>so if it comes back to the prompt ...the syntax of the script is fine .. but how do I get a more descriptive output.</description>
      <pubDate>Mon, 19 Feb 2007 11:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947264#M289708</guid>
      <dc:creator>Hunki</dc:creator>
      <dc:date>2007-02-19T11:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947265#M289709</link>
      <description>HI,&lt;BR /&gt;if you don't execute the script, how are you going to debug ?&lt;BR /&gt;&lt;BR /&gt;set -n will not execute the script, but will also not give you any debug info.&lt;BR /&gt;&lt;BR /&gt;set -x to debug, but this WILL execute the script.</description>
      <pubDate>Mon, 19 Feb 2007 11:11:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947265#M289709</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-19T11:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947266#M289710</link>
      <description>What do you mean by a more descriptive output. You can always append the "-v" token to the set command "set -nv" and run your script again.</description>
      <pubDate>Mon, 19 Feb 2007 11:16:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947266#M289710</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2007-02-19T11:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: set -n</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947267#M289711</link>
      <description>Adding set -n is useless because you have to edit the script twice.  Instead use:&lt;BR /&gt;sh -n script</description>
      <pubDate>Mon, 19 Feb 2007 22:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/set-n/m-p/3947267#M289711</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-02-19T22:51:04Z</dc:date>
    </item>
  </channel>
</rss>

