This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]