This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug in red Hat linux version 7.0


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

Looks fine to me.  Try expr 10 / 2.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]