This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Perl, text files, & \r
- To: "Christopher Rath" <christopher at rath dot ca>
- Subject: RE: Perl, text files, & \r
- From: "Gerrit P. Haase" <gp at familiehaase dot de>
- Date: Sun, 8 Jul 2001 15:40:49 +0200
- CC: cygwin at cygwin dot com
- Organization: Esse keine toten Tiere
- References: <012a01c1072c$a263f5e0$83fafea9@tiny450>
- Reply-to: gp at familiehaase dot de
Christopher Rath schrieb am 2001-07-07, 23:13:
> solution: use of the 'binmode' command.
Would it help to set the environment settings CYGWIN=binmode ?
[...]
> I think this should be in the Cygwin FAQ. Why this works can be found on
> pp. 53-55 and 147 of "Programming Perl 2nd Ed."
Is it a cygwin issue or more a perl one?
You can choice at setup time between 'unix(==binmode)' and
'windows(==textmode)' mode.
You could mount with '-b' for binmode.
It should work as it does on unixlike systems if you setup
with binmode as default.
I believe it is in the user guide somewhere...
gph
--
=^..^=
--
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/