Web lists-archives.com

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