This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to repeat a bash shell script until success
- From: Kaz Kylheku <920-082-4242 at kylheku dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 14 Jul 2017 12:20:17 -0700
- Subject: Re: How to repeat a bash shell script until success
- Authentication-results: sourceware.org; auth=none
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