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 10:42:35 -0400 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Bug? Mixed CR/LF and LF line endings from different programs |
Message-ID: | <20020829144235.GD26609@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> |
Mime-Version: | 1.0 |
In-Reply-To: | <20020829073219.02F148B1F@bellmann.research.canon.com.au> |
User-Agent: | Mutt/1.3.23.1i |
On Thu, Aug 29, 2002 at 05:35:59PM +1000, luke DOT kendall AT cisra DOT canon DOT com DOT au wrote: >Given the input: >qwer >asdf > >Here is the output of cat | od -c >0000000 q w e r \r \n a s d f \r \n >The output of 'cat' includes '\r'. > >Here is the output of sed 2q | od -c >0000000 q w e r \n a s f d \n >The output of 'sed' omits '\r'. > >The output of 'awk' does not include \r either. awk and sed open their standard input in textmode. This is by design. 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 |