This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Perl, text files, & \r
- To: "Cygwin Maillist" <cygwin at cygwin dot com>
- Subject: Re: Perl, text files, & \r
- From: "Max Bowsher" <max at bowshernet dot freeserve dot co dot uk>
- Date: Sat, 7 Jul 2001 22:34:40 +0100
- References: <PAEBIDDBILOFFDPNDLKNMENGCDAA.christopher@rath.ca>
> I've tried forcing $\ to "\n", but that didn't help.
Read the perl docs! "\n" in a $\ or $/ context is automagically translated
into the default system line ending by perl. Using an octal code should
avoid this, I think.
Max.
--
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/