delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/02/19:05:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: thing1-200.fsi.com: ford owned process doing -bs
Date: Tue, 2 Mar 2004 18:04:40 -0600 (CST)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT thing1-200
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: Snapshot 20040225: make hangs/errors out
In-Reply-To: <Pine.GSO.4.56.0403021853100.17984@slinky.cs.nyu.edu>
Message-ID: <Pine.GSO.4.58.0403021758420.17643@thing1-200>
References: <c1j55u$kah$1 AT sea DOT gmane DOT org> <403E07A4 DOT 1010309 AT scytek DOT de> <20040226150318 DOT GC23139 AT redhat DOT com> <403E1400 DOT 7010704 AT scytek DOT de> <20040226163404 DOT GA25941 AT redhat DOT com> <403E245F DOT 40101 AT scytek DOT de> <403E72B7 DOT 9050305 AT scytek DOT de> <403FD3AC DOT 7010300 AT scytek DOT de> <c205f3$jel$1 AT sea DOT gmane DOT org> <4044E025 DOT 2060501 AT scytek DOT de> <20040302204752 DOT GA11909 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0403021741240 DOT 17643 AT thing1-200> <Pine DOT GSO DOT 4 DOT 56 DOT 0403021853100 DOT 17984 AT slinky DOT cs DOT nyu DOT edu>
MIME-Version: 1.0
X-IsSubscribed: yes

On Tue, 2 Mar 2004, Igor Pechtchanski wrote:

> Brian,
>
> It must be late in the day -- $((a+b)) is bash syntax, not ash...  You
> need to change your script to have '#!/bin/bash' or use `expr a + b`.
> 	Igor
>
Thanks Igor.  I knew it had to be something stupid.

FWIW, I first tried the script verbatum from the original bug report.  It
had no #! line, and I thought that might be a problem.  I went through
several iterations of no #!, #!/bin/sh, #!/bin/bash, and even `expr $C +
1`, so I knew about that issue.  It must be too late in the day for me, as
this stuff always happens to me around quiting time :).

I'm still seeing "weirdness", but I'll have to poke around a lot more to
accurately define it.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019