This one is in the FAQ on the Cygwin website. I'll give you hint: ;-)
$ /bin/bash testme.sh 1 Hello World Scott > -----Original Message----- > From: Nitin Gupta [mailto:gupta@;equator.com] > Sent: Wednesday, October 23, 2002 6:22 PM > To: [EMAIL PROTECTED] > Subject: "==" operand not found > > > Hi, > following script runs fine on linux, but not on cygwin. Please let me > know equivalent of "==" on cygwin. > Thanks, > Nitin > > #!/bin/sh > if [ "$1" == "1" ]; then > echo Hello World > fi > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/