<?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: script help in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213334#M465201</link>
    <description>&lt;!--!*#--&gt;&amp;gt; Hein: should have looked like:&lt;BR /&gt;&lt;BR /&gt;Better to look like:  :-)&lt;BR /&gt;#include &lt;TIME.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;int main(){&lt;BR /&gt;   printf("%ld\n", time(NULL));&lt;BR /&gt;   return 0;&lt;BR /&gt;}&lt;/STDIO.H&gt;&lt;/TIME.H&gt;</description>
    <pubDate>Wed, 09 Dec 2009 07:23:18 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-12-09T07:23:18Z</dc:date>
    <item>
      <title>script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213328#M465195</link>
      <description>&lt;A href="http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=USECKBAN00000934" target="_blank"&gt;http://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=USECKBAN00000934&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I'm trying to use this script for password expiry. But i dont understand how to compile or this is one c prog and a script?  &lt;BR /&gt;&lt;BR /&gt;Anyone explain how to compile this? It says time.c, user_expire.sh etc, but i didnt see that? any help please.</description>
      <pubDate>Tue, 08 Dec 2009 19:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213328#M465195</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2009-12-08T19:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213329#M465196</link>
      <description>If you read to the end, then you'll see that the time program is only a simple helper which is providing a time in seconds, and which can be replaced by a PERL command.&lt;BR /&gt;&lt;BR /&gt;Best I can tell the time.c source got 'eaten' by the html formatter but should have looked like:&lt;BR /&gt;---------------------------&lt;BR /&gt;#include &lt;TIME.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;main(){&lt;BR /&gt;printf ("%d\n",time(0));&lt;BR /&gt;}&lt;BR /&gt;----------------------------&lt;BR /&gt;&lt;BR /&gt;No more, no less.&lt;BR /&gt;Enjoy,&lt;BR /&gt;Hein&lt;BR /&gt;&lt;BR /&gt;&lt;/STDIO.H&gt;&lt;/TIME.H&gt;</description>
      <pubDate>Tue, 08 Dec 2009 20:03:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213329#M465196</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-12-08T20:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213330#M465197</link>
      <description>Thanks Hein, time works now. But  what is the start of user_expire.sh script? &lt;BR /&gt;I'm getting syntax error.  Is "set -u " is the starting point of the script??</description>
      <pubDate>Tue, 08 Dec 2009 20:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213330#M465197</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2009-12-08T20:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213331#M465198</link>
      <description>The script should start at the 'set -u' and end at the 'exit 0'.&lt;BR /&gt;&lt;BR /&gt;However, you really should add a first line of:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;to the script so that it will use the POSIX shell as its interpreter.&lt;BR /&gt;&lt;BR /&gt;If modify the line so that it is:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh -x&lt;BR /&gt;&lt;BR /&gt;The you will get debug messages which should help you in troubleshooting the script.</description>
      <pubDate>Tue, 08 Dec 2009 21:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213331#M465198</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-12-08T21:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213332#M465199</link>
      <description>I got what exactly i need from the below link &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1260305900722+28353475&amp;amp;threadId=1033725" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1260305900722+28353475&amp;amp;threadId=1033725&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks to Joseph C. Denman.</description>
      <pubDate>Tue, 08 Dec 2009 21:10:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213332#M465199</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2009-12-08T21:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213333#M465200</link>
      <description>see above.</description>
      <pubDate>Tue, 08 Dec 2009 21:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213333#M465200</guid>
      <dc:creator>balaji_vvv</dc:creator>
      <dc:date>2009-12-08T21:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213334#M465201</link>
      <description>&lt;!--!*#--&gt;&amp;gt; Hein: should have looked like:&lt;BR /&gt;&lt;BR /&gt;Better to look like:  :-)&lt;BR /&gt;#include &lt;TIME.H&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;int main(){&lt;BR /&gt;   printf("%ld\n", time(NULL));&lt;BR /&gt;   return 0;&lt;BR /&gt;}&lt;/STDIO.H&gt;&lt;/TIME.H&gt;</description>
      <pubDate>Wed, 09 Dec 2009 07:23:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-help/m-p/5213334#M465201</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-12-09T07:23:18Z</dc:date>
    </item>
  </channel>
</rss>

