This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug - GAWK prints wrong CR when called outside from cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]