Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AA8ED10.BC45100E@ece.gatech.edu> Date: Fri, 09 Mar 2001 09:47:44 -0500 From: "Charles S. Wilson" X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Dmitry Epstein CC: cygwin AT cygwin DOT com Subject: Re: Perl and linebreaks References: <4 DOT 3 DOT 2 DOT 7 DOT 2 DOT 20010309020950 DOT 00b39670 AT casbah DOT it DOT northwestern DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit perl-5.6.1-1 in the cygwin dist has known problems w.r.t. dos mode. Also, Eric Fifer (the contributor/maintainer of that package) has been traveling for about a month. However, once he returns (next week, I think, if my math is right...) I expect he'll take a look at (a) fixing the cygwin dos-mode stuff, and (b) updating to the perl5porters' official 5.6.1 whenever it comes out (the cygwin 5.6.1-1 package is based on the perl-5.6.1-TRIAL1 release). --Chuck Dmitry Epstein wrote: > > Searching the archives I gathered that a few people already experienced > problems similar to mine, but I couldn't find a definitive answer/solution > to the problem. If this has already been answered, kindly refer me to the > appropriate thread. > > I installed the latest version of Cygwin in "DOS mode" (so \n = > CR/LF). The distribution includes Perl v. 5.6.1. The problem is that Perl > gets really confused when dealing with text with CR/LF linebreaks. The > only thing that it does right is print \n as CR\LF, but just about > everything else it does wrong. For instance, if I read a text file, then > print it *unchanged*, I find an extra CR character inserted at each > linebreak. Pattern matching is all messed up as well. I am not sure if > this is a problem with Perl or with bash or something else. Any ideas? > > Dmitry Epstein > Northwestern University, Evanston, IL. USA > mitia AT northwestern DOT edu > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple