delorie.com/archives/browse.cgi | search |
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: | <3B86EE73.8FB1D14A@1969.ws> |
Date: | Fri, 24 Aug 2001 17:16:51 -0700 |
From: | Karl Zilles <zilles AT 1969 DOT ws> |
Organization: | 1969 Communications, Inc. |
X-Mailer: | Mozilla 4.77 [en] (Windows NT 5.0; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Perl problem still.. |
This was discussed many moons ago from the old perl version and I was hoping to see a fix in the new release. If I go to a text mounted directory and execute perl -p -i -e ';' textfile.txt Then every line in the textfile receives an extra '\r'. So, this being a dos text file, it gets two '\r's on every line. It appears that the file is being read in binary mode, and written in text mode. Karl Zilles -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |