delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-Id: | <4.3.2.7.0.20000921100134.00b9fb98@courriel.polymtl.ca> |
X-Mailer: | QUALCOMM Windows Eudora Version 4.3.2 |
Date: | Thu, 21 Sep 2000 10:04:06 -0400 |
To: | cygwin AT sources DOT redhat DOT com |
From: | Andre Bleau <andre DOT bleau AT courriel DOT polymtl DOT ca> |
Subject: | Re: Problems with 'expr' |
Mime-Version: | 1.0 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id KAA11301 |
> Hi, > > I tried to use 'expr'. And it worked fine for this >'expr 1 + 2 + 3'. But if I try to use '(' or '*' it >will print 'expr: syntax error'. Shouldn't the >following work? 'expr 3 * 4'? > > Jens Yllman The correct syntax is: expr 3 \* 4 or expr 3 '*' 4 same thing for ( or ). André Bleau, ing., analyste email: bleau at courriel dot polymtl dot ca (Fight SPAM: encode your email-address) Département de génie électrique et Electric Engineering and de génie informatique Computer Engineering department École Polytechnique de Montréal Montreal Polytechnic School -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |