<?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: Queries on KSH scripts in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879856#M703967</link>
    <description>It should work.&lt;BR /&gt;&lt;BR /&gt;Just check if they work individually:&lt;BR /&gt;$date&lt;BR /&gt;$YY=`date +%Y`&lt;BR /&gt;$echo $YY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sks</description>
    <pubDate>Thu, 13 Jan 2005 02:31:42 GMT</pubDate>
    <dc:creator>Sanjay Kumar Suri</dc:creator>
    <dc:date>2005-01-13T02:31:42Z</dc:date>
    <item>
      <title>Queries on KSH scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879854#M703965</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt; I started my scipt with this on a HPUX10.20b,&lt;BR /&gt;"&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;#Date Initialisation&lt;BR /&gt;YY=`date +%Y`&lt;BR /&gt;MM=`date +%m`&lt;BR /&gt;DD=`date +%d`&lt;BR /&gt;HH=`date +%H`&lt;BR /&gt;MI=`date +%M`&lt;BR /&gt;SS=`date +%S` "&lt;BR /&gt;&lt;BR /&gt;But the system returns " &lt;BR /&gt;YY=2005: Command not found.&lt;BR /&gt;MM=01: Command not found.&lt;BR /&gt;DD=13: Command not found.&lt;BR /&gt;HH=14: Command not found.&lt;BR /&gt;MI=05: Command not found.&lt;BR /&gt;SS=32: Command not found.&lt;BR /&gt;"&lt;BR /&gt;when I ran the script.. anyone know why this is so?&lt;BR /&gt;&lt;BR /&gt;THanks!!&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2005 02:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879854#M703965</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-01-13T02:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Queries on KSH scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879855#M703966</link>
      <description>I cut'n'paste yout exact script, put it in a new file and&lt;BR /&gt;ran it on HP-UX 11i and it ran without any of the&lt;BR /&gt;above mentioned error/warnings. Looks like something&lt;BR /&gt;is different on HP-UX 10.20. Just run "date +%Y"&lt;BR /&gt;at command line and see if it runs.&lt;BR /&gt;&lt;BR /&gt;- Biswajit&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2005 02:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879855#M703966</guid>
      <dc:creator>Biswajit Tripathy</dc:creator>
      <dc:date>2005-01-13T02:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Queries on KSH scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879856#M703967</link>
      <description>It should work.&lt;BR /&gt;&lt;BR /&gt;Just check if they work individually:&lt;BR /&gt;$date&lt;BR /&gt;$YY=`date +%Y`&lt;BR /&gt;$echo $YY&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sks</description>
      <pubDate>Thu, 13 Jan 2005 02:31:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879856#M703967</guid>
      <dc:creator>Sanjay Kumar Suri</dc:creator>
      <dc:date>2005-01-13T02:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Queries on KSH scripts</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879857#M703968</link>
      <description>Problem solved! thanks!</description>
      <pubDate>Thu, 13 Jan 2005 03:05:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queries-on-ksh-scripts/m-p/4879857#M703968</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-01-13T03:05:48Z</dc:date>
    </item>
  </channel>
</rss>

