Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41897FF4.1080501@agilent.com> Date: Wed, 03 Nov 2004 17:03:48 -0800 From: Earl Chew User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Perl binmode problem on text mount Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Nov 2004 01:03:54.0329 (UTC) FILETIME=[279D2C90:01C4C20A] This code used to work on Perl 5.6.1-2 on Cygwin 1.3.10. I've now moved to Perl 5.8.5-3 on Cygwin 1.5.11. Here is the Perl program: binmode STDOUT; print "Hello\n"; 1. Output to file on text mount perl foo.pl > foo.txt ; od -c foo.txt 0000000 H e l l o \r \n # Perl 5.8.5-3 Cygwin 1.5.11 0000000 H e l l o \n # Perl 5.6.1-2 Cygwin 1.3.10 2. Output to file via cat perl foo.pl | cat > foo.txt ; od -c foo.txt 0000000 H e l l o \n # Perl 5.8.5-3 Cygwin 1.5.11 0000000 H e l l o \n # Perl 5.6.1-2 Cygwin 1.3.10 Has anyone else experienced the same issue? Earl -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/