Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: na na 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 Content-Type: text/plain; charset=us-ascii 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/