This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trouble with bash / if in recent release / update ?


"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@soco.agilent.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]