From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4469 invoked by alias); 14 Jul 2017 19:20:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3171 invoked by uid 89); 14 Jul 2017 19:20:23 -0000 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 Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Jul 2017 19:20:21 +0000 Received: from kylheku.com ([70.79.163.252]) by shaw.ca with SMTP id W68Pd4DEOrztEW68QdQ6G5; Fri, 14 Jul 2017 13:20:19 -0600 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 Received: from www-data by kylheku.com with local (Exim 4.72) (envelope-from <920-082-4242@kylheku.com>) id 1dW68P-0008Op-1W for cygwin@cygwin.com; Fri, 14 Jul 2017 12:20:17 -0700 To: cygwin@cygwin.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 Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Jul 2017 19:23:00 -0000 From: Kaz Kylheku <920-082-4242@kylheku.com> Message-ID: X-Sender: 920-082-4242@kylheku.com User-Agent: Roundcube Webmail/0.9.2 X-CMAE-Envelope: MS4wfP9OkF/BIsg8q+KtQQAZ6fIZBU6BSlF5R0CO3wXpUeiaVTnvq1YZeDGb4/bUQbpD4YfJegMow79NfnlvsnyG1TzRsCE0ZJUXYR7HfH3UkoQB3e4yj5Ma w95J26ni73RQxn7HQ19UuYSWh3V8qe060qRtep7T/6raClYwoXGdzrDT X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg00234.txt.bz2 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 >=20 > Has everyone forgotten there is also an until loop, supported by at=20 > least sh, > dash, bash, [m]ksh: I've forgotten that at least twice. (I don't remember the exact number=20 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