This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
"==" operand not found
- From: Nitin Gupta <gupta at equator dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 23 Oct 2002 15:22:13 -0700
- 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/