delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/12/08:04:21

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: Fri, 12 Apr 2002 14:03:29 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bug - GAWK prints wrong CR when called outside from cygwin
Message-ID: <20020412140329.B1127@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2277 DOT 1018612433 AT www50 DOT gmx DOT net>
Mime-Version: 1.0
In-Reply-To: <2277.1018612433@www50.gmx.net>
User-Agent: Mutt/1.3.22.1i

On Fri, Apr 12, 2002 at 01:53:53PM +0200, Markus Brandt wrote:
> Hello,
> 
> when gawk is called outside the cygwin runtime, i.e. called from a command
> prompt under Windows, and it's input is redirected to a pipe with an output of
> a non-cygwin command, e.g. the Windows DIR, it does not recognize this.
> As a result input conversion from "\r\n" to "\n" isn't performed an
> additional "\r"s are printed.

Beep!  cmd is appending the additional line feed.  Not gawk.  Try
*any* command in cmd and you will see an empty line before the
prompt returns.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019