www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
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 <cygwin AT cygwin DOT com> |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |