Subject: Re: Bug in red Hat linux version 7.0
From: Kurt Roeckx <[email-masked]>
To: na na <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Mon, 30 Jul 2001 18:40:01 +0200

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

Looks fine to me.  Try expr 10 / 2.

> [[email-masked] sam]a=22
> [[email-masked] sam]a=`expr $a`+10
> [[email-masked] 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/