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 Date: Thu, 29 Aug 2002 16:38:20 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Bug? Mixed CR/LF and LF line endings from different programs Message-ID: <20020829203820.GB23580@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020829073219 DOT 02F148B1F AT bellmann DOT research DOT canon DOT com DOT au> <20020829144235 DOT GD26609 AT redhat DOT com> <3D6E49F6 DOT 6030504 AT cotagesoft DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D6E49F6.6030504@cotagesoft.com> User-Agent: Mutt/1.3.23.1i On Thu, Aug 29, 2002 at 09:21:10AM -0700, Shankar Unni wrote: >Christopher Faylor wrote: >>awk and sed open their standard input in textmode. This is by design. > >Don't they open their stdout in textmode, then? Otherwise they should >have been "fixed up back" to \r\n when they wrote the lines out, no? I think you can draw your own conclusions on what is happening pretty easily. I just wanted to make sure that people understand that the behavior is not a random event. It comes up from time to time here and I thought that it bears repeating that both are working the way they are designed to work. cgf -- 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/