Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Message-ID: References: <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> <4044E025 DOT 2060501 AT scytek DOT de> <20040302204752 DOT GA11909 AT redhat DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/