delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/27/06:36:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Peter Oosterlynck" <peter DOT oosterlynck AT oracle DOT com>
To: "Max Bowsher" <maxb AT ukf DOT net>, <cygwin AT cygwin DOT com>
Subject: RE: behaviour of "for (( exp1; exp2; exp3 )); do COMMANDS; done"
Date: Tue, 27 May 2003 10:45:50 +0200
Message-ID: <PHENJGDFMJPEBOBLGEMOKENMCBAA.peter.oosterlynck@oracle.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <002901c32427$2e1553e0$78d96f83@pomello>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h4RAabr03787

Tx for your reply Max,

Tried it with a Bourne shell (sh) on my Redhat AS2.1: works fine.
Tried it with a Bourne shell (sh) in cygwin : fails.

Works fine with bash on both platforms.

My workaround: added "#!/usr/bin/bash" in my cygwin script.

Peter.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019