Door Games Unlimited

Welcome, Guest.


Subject: *NIX shell scripting ques Date: Sun Nov 11 2012 17:29:00
From: Deuce To: Khelair

  Re: *NIX shell scripting question (or possibly other scripting methods)
  By: Khelair to All on Sat Nov 10 2012 08:43 am

 >     Can any shell script wizards out there tell me if there is a way using
 > 'sh' or 'ksh' to enclose a block of script in some kind of structure that
 > will try to execute something, wait for a predetermined amount of time, and
 > then if there is no user input on the keyboard for that period of time,
 > execute another block of code or else just skip what was going on entirely?

I'm not sure exactly what you're asking for... a prompted input with a timeout?

---
http://DuckDuckGo.com/ a better search engine that respects your privacy.
 ■ Synchronet ■ My Brand-New BBS (All the cool SysOps run STOCK!)

Previous Message       Next Message
In Reply To: *NIX shell scripting ques (Khelair)
Replies: *NIX shell scripting ques (Khelair)