<?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 Please Help with script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940076#M411550</link>
    <description>I want to make a script.&lt;BR /&gt;&lt;BR /&gt;In this script i want to compare two files.&lt;BR /&gt;&lt;BR /&gt;I want to know which file is older.&lt;BR /&gt;Let say  :&lt;BR /&gt;&lt;BR /&gt;file_1  and file_2&lt;BR /&gt;&lt;BR /&gt;Thank you in advance&lt;BR /&gt;&lt;BR /&gt;Idriz</description>
    <pubDate>Fri, 11 Nov 2005 10:32:28 GMT</pubDate>
    <dc:creator>I.Delic</dc:creator>
    <dc:date>2005-11-11T10:32:28Z</dc:date>
    <item>
      <title>Please Help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940076#M411550</link>
      <description>I want to make a script.&lt;BR /&gt;&lt;BR /&gt;In this script i want to compare two files.&lt;BR /&gt;&lt;BR /&gt;I want to know which file is older.&lt;BR /&gt;Let say  :&lt;BR /&gt;&lt;BR /&gt;file_1  and file_2&lt;BR /&gt;&lt;BR /&gt;Thank you in advance&lt;BR /&gt;&lt;BR /&gt;Idriz</description>
      <pubDate>Fri, 11 Nov 2005 10:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940076#M411550</guid>
      <dc:creator>I.Delic</dc:creator>
      <dc:date>2005-11-11T10:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940077#M411551</link>
      <description>Just do-&lt;BR /&gt; &lt;BR /&gt;if [[ file1 -nt file2 ]] ; then&lt;BR /&gt;echo file1 is newer then file2&lt;BR /&gt;fi&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Fri, 11 Nov 2005 10:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940077#M411551</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2005-11-11T10:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940078#M411552</link>
      <description>The POSIX shell makes this very easy:&lt;BR /&gt;&lt;BR /&gt;if [[ file_1 -ot file_2 ]]&lt;BR /&gt;  then&lt;BR /&gt;    echo "file_1 is older than file_2"&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;There is also a -nt comparison (newer than).</description>
      <pubDate>Fri, 11 Nov 2005 10:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940078#M411552</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-11-11T10:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Please Help with script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940079#M411553</link>
      <description>thank you</description>
      <pubDate>Fri, 11 Nov 2005 10:43:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/please-help-with-script/m-p/4940079#M411553</guid>
      <dc:creator>I.Delic</dc:creator>
      <dc:date>2005-11-11T10:43:57Z</dc:date>
    </item>
  </channel>
</rss>

