Bug in red Hat linux version 7.0

Kurt Roeckx Q@ping.be
Mon Jul 30 09:40:00 GMT 2001


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/



More information about the Cygwin mailing list