Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <012a01c1072c$a263f5e0$83fafea9@tiny450> From: "Max Bowsher" To: "Cygwin Maillist" References: Subject: Re: Perl, text files, & \r Date: Sat, 7 Jul 2001 22:34:40 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 > 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/