delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/24/03:45:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 24 Sep 2003 09:50:55 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit @ cygwin" <cygwin AT cygwin DOT com>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <1611931987130.20030924095055@familiehaase.de>
To: Peter M Aarestad <aarestad AT netzero DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: Problem with perl distro?
In-Reply-To: <3F70DD80.6040007@netzero.net>
References: <20030923 DOT 123242 DOT 15014 DOT 279252 AT webmail05 DOT nyc DOT untd DOT com>
<Pine DOT GSO DOT 4 DOT 56 DOT 0309231548250 DOT 8775 AT slinky DOT cs DOT nyu DOT edu>
<12138369181 DOT 20030923224559 AT familiehaase DOT de> <3F70DD80 DOT 6040007 AT netzero DOT net>
MIME-Version: 1.0

Hallo Peter,

Am Mittwoch, 24. September 2003 um 01:55 schriebst du:

> Gerrit P. Haase wrote:

>> # Variables used in loop
>> my $screen = "";
>> my $fldname = "";

> Changing my script to this and using "export PERLIO=crlf" got rid of all 
> the warnings for me.  I didn't know the latter, so thanks for teaching 
> me something new today! :)

crlf is one PERLIO layer which does LF -> CR/LF conversion on
generated outputs and CR/LF -> LF on inputs.  But use with care, there
were bugs and nasty side effects (e.g. outfiles with CR/CR/LF) and I'm
not sure that all problems were fixed.

More about PERLIO in the docs: e.g. `perldoc perlio`.

You may want to use Unix line endings only for your input, that is get
rid of all CRs in your data files.


Gerrit
-- 
=^..^=


--
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/

- Raw text -


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