Bug - GAWK prints wrong CR when called outside from cygwin

Corinna Vinschen cygwin@cygwin.com
Fri Apr 12 07:10:00 GMT 2002

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.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/

More information about the Cygwin mailing list