delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/30/13:24:01

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
Date: Mon, 30 Jul 2001 18:40:01 +0200
From: Kurt Roeckx <Q AT ping DOT be>
To: na na <shailesh_mangayil AT india DOT com>
Cc: cygwin AT cygwin DOT com, shyamk AT eth DOT net
Subject: Re: Bug in red Hat linux version 7.0
Message-ID: <20010730184001.A864@ping.be>
References: <20010730135023 DOT 24525 DOT qmail AT india DOT com>
Mime-Version: 1.0
X-Mailer: Mutt 1.0pre2i
In-Reply-To: <20010730135023.24525.qmail@india.com>

On Mon, Jul 30, 2001 at 09:50:23PM +0800, na na wrote:
> May I straightaway start describing the bug ?
> [sam AT org DOT org sam]expr 10/2  #which should output 5
> 10/2

Looks fine to me.  Try expr 10 / 2.

> [sam AT org DOT org sam]a=22
> [sam AT org DOT org sam]a=`expr $a`+10
> [sam AT org DOT org sam]echo $a
> 22+10

Still looks fine, now try a=`expr $a + 10`.


Kurt


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019