delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/05/20:55:35

X-Spam-Check-By: sourceware.org
Message-Id: <200702060155.RAA19602@mina.soco.agilent.com>
To: cygwin AT cygwin DOT com
Subject: Re: trouble with bash / if in recent release / update ?
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 05 Feb 2007 17:55:04 -0800
From: Darryl Okahata <darrylo AT soco DOT agilent DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

"Larry Hall (Cygwin)" wrote:

> Your line-endings are CRNLs.  The best thing to do is to run d2u on the
> scripts in question.  Read any recent Cygwin bash announcements for other
> options to resolve this situation and further details.

     While I understand the reasoning, this seems to have caused a
regression.  With cygwin-1.5.24-2 and textmode mounts:

	$ echo '0' > x ; ( exit `cat x` )
	: numeric argument required

With 1.5.18 (yeah, I know, it's ancient), 1.5.20, or linux, the above
works as expected (with either binmode or textmode mounts).

-- 
	Darryl Okahata
	darrylo AT soco DOT agilent DOT com

DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Agilent Technologies, or
of the little green men that have been following him all day.

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