Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Peter Oosterlynck" To: "Max Bowsher" , Subject: RE: behaviour of "for (( exp1; exp2; exp3 )); do COMMANDS; done" Date: Tue, 27 May 2003 10:45:50 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" 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 Content-Transfer-Encoding: 8bit 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/