X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Daniel Brockman <dan@spicetrader.net>
Subject:  Re: trouble with bash / if in recent release / update ?
Date: Tue, 30 Jan 2007 06:53:50 +0000 (UTC)
Lines: 49
Message-ID:  <loom.20070130T074344-79@post.gmane.org>
References:  <loom.20070129T181002-616@post.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com



Tim Hanson <t.hanson <at> faz.de> writes:

> 
> hi, a colleague and i recently tried upgrading an existing cygwin and found 
that
> basic bash script features broke. 
> [...]
> 
> does this ring a bell for anyone?
> 
> i'd be grateful for pointers. (or advice on how to provide more clues.)
> 
> cheers,
> 
> Tim
> 
> 
You aren't alone, Tim.

I have same problem. I updated last night. My sh (bourne shell) scripts didn't 
work this morning. I diff the bash.exe and sh.exe binaries and they are the 
same. I tried updating from a differnt mirror, but that didn't fix the problem.

Workaround: I'm using zsh instead of sh .

Back to the bugs ... `echo' command seems to work backwards! 
In a script...

  echo foo bar

produces output ...

  bar foo

A blank line in the script file produces err msg 

: command not found

I can't figure out a way to make the new version of sh.exe work. Imho, it's 
broken.



db





--
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/

