This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to repeat a bash shell script until success


On 14.07.2017 10:34, Brian Inglis wrote:
On 2017-07-14 11:07, Kaz Kylheku wrote:
  while ! program args ... ; do
    sleep 1
  done

Has everyone forgotten there is also an until loop, supported by at least sh,
dash, bash, [m]ksh:

I've forgotten that at least twice. (I don't remember the exact number of times.)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]