How to repeat a bash shell script until success

Kaz Kylheku 920-082-4242@kylheku.com
Fri Jul 14 19:23:00 GMT 2017


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



More information about the Cygwin mailing list