delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: "==" operand not found |
Date: | Wed, 23 Oct 2002 18:28:53 -0400 |
Message-ID: | <7BFCE5F1EF28D64198522688F5449D5AC1E357@xchangeserver2.storigen.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Scott Prive" <Scott DOT Prive AT storigen DOT com> |
To: | "Nitin Gupta" <gupta AT equator DOT com>, <cygwin AT cygwin DOT com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g9NMT5W24290 |
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 AT equator DOT com] > Sent: Wednesday, October 23, 2002 6:22 PM > To: cygwin AT cygwin DOT 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |