delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/09/09:48:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Dmitry Epstein <mitia AT northwestern DOT edu>
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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019