"==" operand not found
Scott Prive
Scott.Prive@storigen.com
Wed Oct 23 16:34:00 GMT 2002
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: cygwin@cygwin.com
> 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/
More information about the Cygwin
mailing list