<?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: regarding my previous question on shell programming in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017581#M129758</link>
    <description>Hi,&lt;BR /&gt;The magical command is "line".&lt;BR /&gt;Usage :&lt;BR /&gt;ANS=`line -t 5`&lt;BR /&gt;will allow 5 seconds for an answer and then carry on running the script.&lt;BR /&gt;Cheers,&lt;BR /&gt;Ollie.</description>
    <pubDate>Tue, 08 Jul 2003 10:32:28 GMT</pubDate>
    <dc:creator>Ollie R</dc:creator>
    <dc:date>2003-07-08T10:32:28Z</dc:date>
    <item>
      <title>regarding my previous question on shell programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017578#M129755</link>
      <description>Hi again,&lt;BR /&gt;&lt;BR /&gt;regarding my last question on the skip sequence, I tried to use some of the solution mentioned. but it seems that they are not the right ones...&lt;BR /&gt;the user "hpux" gave a better explanation of my problem.. "I'm waiting for your full answer"&lt;BR /&gt;&lt;BR /&gt;which is:&lt;BR /&gt;Before go to next step, system give a prompt "Do you want to continue? (Y/N)", this prompt will keep 10 seconds(for example) to wait a user to input 'Y' or 'N', if time exceed, system set the default input 'N' and go to next step.&lt;BR /&gt;&lt;BR /&gt;I hope now you could help me better...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mohammed Z. Harbi</description>
      <pubDate>Tue, 08 Jul 2003 09:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017578#M129755</guid>
      <dc:creator>M. Z. Harbi</dc:creator>
      <dc:date>2003-07-08T09:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: regarding my previous question on shell programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017579#M129756</link>
      <description>in="no"&lt;BR /&gt;&lt;BR /&gt;print "Do you want to continue? (Y/N)"&lt;BR /&gt;print "-&amp;gt; \c"&lt;BR /&gt;in=$(line -t 10)&lt;BR /&gt;&lt;BR /&gt;case $in in&lt;BR /&gt;[Y|y]*) in="yes" ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;if [[ "$in" = "yes" ]] then;&lt;BR /&gt;  #do this&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;#next step</description>
      <pubDate>Tue, 08 Jul 2003 09:56:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017579#M129756</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-07-08T09:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: regarding my previous question on shell programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017580#M129757</link>
      <description>I think this should take care of your needs.  It builds on my previous post.....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;echo "Do you want to continue"&lt;BR /&gt;answer=`line -t 30` &lt;BR /&gt;if [ "$answer" = "" ] || [ "$answer" = "n" ] || [ "$answer" = "no" ];&lt;BR /&gt;then exit&lt;BR /&gt;elif [ "$answer" = "y" ] || [ "$answer" = "yes" ] ;&lt;BR /&gt;then&lt;BR /&gt;#rest of script&lt;BR /&gt;fi</description>
      <pubDate>Tue, 08 Jul 2003 09:58:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017580#M129757</guid>
      <dc:creator>John Meissner</dc:creator>
      <dc:date>2003-07-08T09:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: regarding my previous question on shell programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017581#M129758</link>
      <description>Hi,&lt;BR /&gt;The magical command is "line".&lt;BR /&gt;Usage :&lt;BR /&gt;ANS=`line -t 5`&lt;BR /&gt;will allow 5 seconds for an answer and then carry on running the script.&lt;BR /&gt;Cheers,&lt;BR /&gt;Ollie.</description>
      <pubDate>Tue, 08 Jul 2003 10:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017581#M129758</guid>
      <dc:creator>Ollie R</dc:creator>
      <dc:date>2003-07-08T10:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: regarding my previous question on shell programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017582#M129759</link>
      <description>Thank you all, your answers were really helpful this time...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Mohammed Z. Harbi</description>
      <pubDate>Wed, 09 Jul 2003 02:29:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/regarding-my-previous-question-on-shell-programming/m-p/3017582#M129759</guid>
      <dc:creator>M. Z. Harbi</dc:creator>
      <dc:date>2003-07-09T02:29:50Z</dc:date>
    </item>
  </channel>
</rss>

