X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:subject:mime-version:content-type :content-transfer-encoding:date:from:message-id; q=dns; s= default; b=lG3DkNXkVC8VXulf2IdsjtqcULTDfGo8eKSmLWOk9K73yu01S1l5e RBKJ5cwgjPkBZVvhmP5xEE+urB2eKcH3QsUInfcByfZz3nqmmJ1ritzuD6o/0dA2 OBVgGBLgEBnluP/AFfvUJ7DULruRrAY97/y4b/bV77gCQPyKnqgW8E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:subject:mime-version:content-type :content-transfer-encoding:date:from:message-id; s=default; bh=P gDzPQNsIs6e8uKAvVXv0kVESrM=; b=hm2hni/QmRas+X5zTlDMy5ZdCHrxws+B6 nSRAGlCB+QBN4UoRSIxd5nDXymBN6tWhrxYYaUaGDAulX2s0NdPvIT492ACTwWkf DL2kOLkltE/LrcGFnDApMQs5xpJNYtZHW1hRT5/80Dg4G40omHjlur1dtjuIgpVu Ma1hyaI44M= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FROM_STARTS_WITH_NUMS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=14072017, 14.07.2017 X-HELO: smtp-out-no.shaw.ca X-Authority-Analysis: v=2.2 cv=M/89E24s c=1 sm=1 tr=0 a=95A0EdhkF1LMGt25d7h1IQ==:117 a=95A0EdhkF1LMGt25d7h1IQ==:17 a=IkcTkHD0fZMA:10 a=SMorJkV_YP8A:10 a=G3gG6ho9WtcA:10 a=wY2MV_yqhavH3soGFisA:9 a=QEXdDO2ut3YA:10 To: cygwin AT cygwin DOT com Subject: Re: How to repeat a bash shell script until success X-PHP-Originating-Script: 501:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Fri, 14 Jul 2017 12:20:17 -0700 From: Kaz Kylheku <920-082-4242 AT kylheku DOT com> Message-ID: X-Sender: 920-082-4242 AT kylheku DOT com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4wfP9OkF/BIsg8q+KtQQAZ6fIZBU6BSlF5R0CO3wXpUeiaVTnvq1YZeDGb4/bUQbpD4YfJegMow79NfnlvsnyG1TzRsCE0ZJUXYR7HfH3UkoQB3e4yj5Ma w95J26ni73RQxn7HQ19UuYSWh3V8qe060qRtep7T/6raClYwoXGdzrDT X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id v6EJKePg013510 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