<?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: Using shc-2.4a in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857508#M95253</link>
    <description>Yeap, the script works fine by itself and the content to do a small test is a simple "ls -f" unix command.</description>
    <pubDate>Wed, 04 Dec 2002 12:40:26 GMT</pubDate>
    <dc:creator>Jose Mosquera</dc:creator>
    <dc:date>2002-12-04T12:40:26Z</dc:date>
    <item>
      <title>Using shc-2.4a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857506#M95251</link>
      <description>Hi Pals,&lt;BR /&gt;&lt;BR /&gt;I'm trying to *hide* the content of a standard HP-UX 11.0 script file with a shc-2.4a downloaded from the port: &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Shells" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Shells&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;So, to do a simple test, I've created a small command script file, then when I try to compile it "shc -f myfile" *always* show me:&lt;BR /&gt;shc Invalid script's first line: &lt;UNIX command=""&gt;&lt;BR /&gt;shc: Error 0&lt;BR /&gt;&lt;BR /&gt;I not have previous C language experience.&lt;BR /&gt;&lt;BR /&gt;Can somebody help me?&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;&lt;BR /&gt;Jose&lt;/UNIX&gt;</description>
      <pubDate>Wed, 04 Dec 2002 12:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857506#M95251</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2002-12-04T12:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using shc-2.4a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857507#M95252</link>
      <description>Does "myfile" actually work as a script? How about posting "myfile"??&lt;BR /&gt;&lt;BR /&gt;Make sure you have a valid "shell" execution path one the first line.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 04 Dec 2002 12:34:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857507#M95252</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-12-04T12:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using shc-2.4a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857508#M95253</link>
      <description>Yeap, the script works fine by itself and the content to do a small test is a simple "ls -f" unix command.</description>
      <pubDate>Wed, 04 Dec 2002 12:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857508#M95253</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2002-12-04T12:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using shc-2.4a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857509#M95254</link>
      <description>Jose,&lt;BR /&gt;&lt;BR /&gt;Your script MUST have a valid SHELL execution path. If your script looks like this:&lt;BR /&gt;&lt;BR /&gt;# cat -n ghj&lt;BR /&gt;     1  ls -f&lt;BR /&gt;# /opt/shc/bin/shc -f ghj&lt;BR /&gt;shc Invalid script's first line: ls -f&lt;BR /&gt;&lt;BR /&gt;/opt/shc/bin/shc: Error 0&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;# cat -n ghj             &lt;BR /&gt;     1  #!/usr/bin/ksh&lt;BR /&gt;     2  ls -f&lt;BR /&gt;# /opt/shc/bin/shc -f ghj&lt;BR /&gt;/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ghj.x.o) was detected. The linked output may not run on a PA 1.x system.&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;And I tested it, it works!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Wed, 04 Dec 2002 13:27:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-shc-2-4a/m-p/2857509#M95254</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-12-04T13:27:14Z</dc:date>
    </item>
  </channel>
</rss>

