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) Content-Type: text/plain; charset=US-ASCII Date: Mon, 05 Feb 2007 17:55:04 -0800 From: Darryl Okahata X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 "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/