<?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: Checking the shell script syntax without running it. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-the-shell-script-syntax-without-running-it/m-p/2579749#M31647</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# sh -n your_script&lt;BR /&gt;&lt;BR /&gt;...will report syntax errors (if any) but not execute the &lt;YOUR_SCRIPT&gt;&lt;/YOUR_SCRIPT&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Fri, 14 Sep 2001 16:47:22 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-09-14T16:47:22Z</dc:date>
    <item>
      <title>Checking the shell script syntax without running it.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-the-shell-script-syntax-without-running-it/m-p/2579748#M31646</link>
      <description>I would like to know if it is possible to verify the shell script syntax without actually running it?&lt;BR /&gt;The man pages for ksh or sh-posix suggest an option "noexec" or "set -n" that can be used to do exactly the same. I tried this without success and  it appears to me that noexec and interactive option do not go together&lt;BR /&gt;Thanks for your help in advance.</description>
      <pubDate>Fri, 14 Sep 2001 16:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-the-shell-script-syntax-without-running-it/m-p/2579748#M31646</guid>
      <dc:creator>sav041329</dc:creator>
      <dc:date>2001-09-14T16:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Checking the shell script syntax without running it.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/checking-the-shell-script-syntax-without-running-it/m-p/2579749#M31647</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;# sh -n your_script&lt;BR /&gt;&lt;BR /&gt;...will report syntax errors (if any) but not execute the &lt;YOUR_SCRIPT&gt;&lt;/YOUR_SCRIPT&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 14 Sep 2001 16:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/checking-the-shell-script-syntax-without-running-it/m-p/2579749#M31647</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-09-14T16:47:22Z</dc:date>
    </item>
  </channel>
</rss>

