This is the mail archive of the cygwin@cygwin.com 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]

Re: Perl and linebreaks


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@northwestern.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


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