This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Bug in red Hat linux version 7.0
- To: na na <shailesh_mangayil at india dot com>
- Subject: Re: Bug in red Hat linux version 7.0
- From: Kurt Roeckx <Q at ping dot be>
- Date: Mon, 30 Jul 2001 18:40:01 +0200
- Cc: cygwin at cygwin dot com, shyamk at eth dot net
- References: <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@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/