| 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: | <3BCC8B4A.39C10B68@airflash.com> |
| Date: | Tue, 16 Oct 2001 12:32:26 -0700 |
| From: | "Alex Tang" <altitude AT airflash DOT com> |
| X-Mailer: | Mozilla 4.78 [en] (Windows NT 5.0; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| CC: | rrt AT dcs DOT gla DOT ac DOT uk |
| Subject: | Re: Perl gets \r in strings even in text mode |
| References: | <3BCC6296 DOT 17422 DOT 7AB6E6 AT localhost> |
Good to know that this is a known bug.
Alternatively, in perl, you can set "binmode" on your file.
open ( A, ">/tmp/out" );
binmode ( A );
...alex...
"Gerrit P. Haase" wrote:
> > Reuben Thomas schrieb am 2001-10-16 14:09:
>
> >I'm currently having problems with Perl returning strings with CRLFs in
> >rather than just LFs, even when read in text mode, from a text-mode mount
> >point.
>
> Yes, this is a known bug. I'm trying to release a new version this week,
> but I cannot say if I will find the bug.
>
> Until it is resolved you will need to use binary mounts, this problem
> exist only on textmounts.
>
> Gerrit
>
> --
> =^..^=
>
> --
> 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/
--
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 |