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: Wed, 24 Jul 2002 13:27:06 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cygwin 1.3.12 problem with using pipes Message-ID: <20020724172706.GA20049@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <039b01c23334$6471c9d0$0d32a8c0 AT ids DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <039b01c23334$6471c9d0$0d32a8c0@ids.de> User-Agent: Mutt/1.3.23.1i On Wed, Jul 24, 2002 at 07:06:00PM +0200, Bernd Walther wrote: >Hello, > >i see on http://sources.redhat.com/ml/cygwin-announce/2002-07/msg00002.html > ... > - Fix binmode/textmode problems with ssh and other programs which use >pipes. (Christopher Faylor) > ... > >but there are some more problems, please look to my simple bash-script > uname -a > echo abc >| tmp1 > echo abc >> tmp1 > od -t x1 tmp1 > gawk '{print length,$0}' tmp1 | od -t x1 > cat tmp1 | gawk '{print length,$0}' | od -t x1 > gawk '{print length,$0}' tmp1 >| tmp2 ; od -t x1 tmp2 > cat tmp1 | gawk '{print length,$0}' >| tmp2 ; od -t x1 tmp2 I believe that gawk is linked with 'automode.o'. So, it will translate \r\n input into \n output. 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/