<?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: export DISPLAY Script help. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/export-display-script-help/m-p/2831132#M88899</link>
    <description>Team:&lt;BR /&gt;&lt;BR /&gt;The attached script here..&lt;BR /&gt;&lt;BR /&gt;Joe</description>
    <pubDate>Tue, 22 Oct 2002 18:23:00 GMT</pubDate>
    <dc:creator>joe_91</dc:creator>
    <dc:date>2002-10-22T18:23:00Z</dc:date>
    <item>
      <title>export DISPLAY Script help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-display-script-help/m-p/2831131#M88898</link>
      <description>Team:&lt;BR /&gt;&lt;BR /&gt;Please find attached the script where i am trying to validate first number should be 155 and if true then checks :0.0 and checks for a 2 digit value and sets the DISPLAY variable. Now this only works for two digit upto :99.0 but i need this to be working even for a four digit display like from :1.0 thru :1000.0. Please help me with this script.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Joe.</description>
      <pubDate>Tue, 22 Oct 2002 18:20:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-display-script-help/m-p/2831131#M88898</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2002-10-22T18:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: export DISPLAY Script help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-display-script-help/m-p/2831132#M88899</link>
      <description>Team:&lt;BR /&gt;&lt;BR /&gt;The attached script here..&lt;BR /&gt;&lt;BR /&gt;Joe</description>
      <pubDate>Tue, 22 Oct 2002 18:23:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-display-script-help/m-p/2831132#M88899</guid>
      <dc:creator>joe_91</dc:creator>
      <dc:date>2002-10-22T18:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: export DISPLAY Script help.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-display-script-help/m-p/2831133#M88900</link>
      <description>&lt;BR /&gt;It should be sufficient to numerically evaluate the first IP octet as 155 and the screen number as greater than or equal to 10.&lt;BR /&gt;&lt;BR /&gt;verify_DISPLAY () {&lt;BR /&gt;if [ ${1%%.*} -eq 155 -a ${1##*:} -ge 10 ]&lt;BR /&gt;then&lt;BR /&gt;return 0&lt;BR /&gt;fi&lt;BR /&gt;echo 'DISPLAY is NOT valid'&lt;BR /&gt;return 1&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Oct 2002 19:40:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-display-script-help/m-p/2831133#M88900</guid>
      <dc:creator>Jordan Bean</dc:creator>
      <dc:date>2002-10-22T19:40:04Z</dc:date>
    </item>
  </channel>
</rss>

