<?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 comparison check in shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/comparison-check-in-shell-script/m-p/2679103#M52758</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have the following code:&lt;BR /&gt;&lt;BR /&gt;if [ $tmpPESize&amp;gt;$tmp1 ]; then&lt;BR /&gt; echo "hello"    &lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;but for some reason, it always prints 'hello' even if $tmpPESize is 8 and tmp1 is 1&lt;BR /&gt;&lt;BR /&gt;Any ideas why?&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
    <pubDate>Fri, 08 Mar 2002 18:31:35 GMT</pubDate>
    <dc:creator>andi_1</dc:creator>
    <dc:date>2002-03-08T18:31:35Z</dc:date>
    <item>
      <title>comparison check in shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comparison-check-in-shell-script/m-p/2679103#M52758</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have the following code:&lt;BR /&gt;&lt;BR /&gt;if [ $tmpPESize&amp;gt;$tmp1 ]; then&lt;BR /&gt; echo "hello"    &lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;but for some reason, it always prints 'hello' even if $tmpPESize is 8 and tmp1 is 1&lt;BR /&gt;&lt;BR /&gt;Any ideas why?&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Fri, 08 Mar 2002 18:31:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comparison-check-in-shell-script/m-p/2679103#M52758</guid>
      <dc:creator>andi_1</dc:creator>
      <dc:date>2002-03-08T18:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: comparison check in shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/comparison-check-in-shell-script/m-p/2679104#M52759</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If think your want:&lt;BR /&gt;&lt;BR /&gt;if [ ${a} -gt ${b} ] # greater than&lt;BR /&gt;-ge greater than or equal to&lt;BR /&gt;-lt&lt;BR /&gt;-le&lt;BR /&gt;-eq&lt;BR /&gt;-ne&lt;BR /&gt;&lt;BR /&gt;These are the numeric comparison operators&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Mar 2002 18:35:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/comparison-check-in-shell-script/m-p/2679104#M52759</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-03-08T18:35:26Z</dc:date>
    </item>
  </channel>
</rss>

