This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: behaviour of "for (( exp1; exp2; exp3 )); do COMMANDS; done"
- From: "Peter Oosterlynck" <peter dot oosterlynck at oracle dot com>
- To: "Max Bowsher" <maxb at ukf dot net>, <cygwin at cygwin dot com>
- Date: Tue, 27 May 2003 10:45:50 +0200
- Subject: RE: behaviour of "for (( exp1; exp2; exp3 )); do COMMANDS; done"
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/