<?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: Some script syntax in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424718#M707293</link>
    <description>1) Supress return&lt;BR /&gt;   (Will leave the cursoe after "quit")&lt;BR /&gt;2) "Garbage collector".&lt;BR /&gt;   If user types other words after "y"&lt;BR /&gt;3) Test if zero = enter/return&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
    <pubDate>Thu, 18 Nov 2004 02:44:52 GMT</pubDate>
    <dc:creator>Trond Haugen</dc:creator>
    <dc:date>2004-11-18T02:44:52Z</dc:date>
    <item>
      <title>Some script syntax</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424717#M707292</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;echo "Press [Y]/[y] to continue, [Enter] to quit \c"&lt;BR /&gt;read ans rest&lt;BR /&gt;if [ -z "$ans" ]&lt;BR /&gt;  then&lt;BR /&gt;    exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Above is part of the script.&lt;BR /&gt;1) what is \c for?&lt;BR /&gt;2) what is rest for?&lt;BR /&gt;3) what is -z for?&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Thu, 18 Nov 2004 02:38:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424717#M707292</guid>
      <dc:creator>Ngoh Chean Siung</dc:creator>
      <dc:date>2004-11-18T02:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Some script syntax</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424718#M707293</link>
      <description>1) Supress return&lt;BR /&gt;   (Will leave the cursoe after "quit")&lt;BR /&gt;2) "Garbage collector".&lt;BR /&gt;   If user types other words after "y"&lt;BR /&gt;3) Test if zero = enter/return&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Thu, 18 Nov 2004 02:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424718#M707293</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2004-11-18T02:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Some script syntax</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424719#M707294</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. if you specify \c then the ouput will be like:&lt;BR /&gt;&lt;BR /&gt;Press [Y]/[y] to continue, [Enter] to quit &lt;YOU enter="" your="" input="" here="" i.e.="" cursor="" remains="" on="" the="" same="" line=""&gt;&lt;BR /&gt;&lt;BR /&gt;if \c is not specified then:&lt;BR /&gt;Press [Y]/[y] to continue, [Enter] to quit&lt;BR /&gt;&lt;YOU enter="" your="" input="" here="" i.e.="" cursor="" goes="" on="" the="" next="" line=""&gt;&lt;BR /&gt;&lt;BR /&gt;3. -z is to see whether user simply pressed ENTER key that mean he entered nothing and the string length is zero so it's time quit.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/YOU&gt;&lt;/YOU&gt;</description>
      <pubDate>Thu, 18 Nov 2004 03:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424719#M707294</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-11-18T03:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Some script syntax</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424720#M707295</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am not going to repeat the explanations already given but if you need a good source for script info&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.com/" target="_blank"&gt;http://www.shelldorado.com/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                   Steve Steel</description>
      <pubDate>Thu, 18 Nov 2004 03:28:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/some-script-syntax/m-p/3424720#M707295</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-11-18T03:28:55Z</dc:date>
    </item>
  </channel>
</rss>

