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 Message-ID: <20021007195208.6049.qmail@web40613.mail.yahoo.com> Date: Mon, 7 Oct 2002 12:52:08 -0700 (PDT) From: Barry Buchbinder Subject: Re: gawk not taking redirected input under command.com To: Cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii According to cygcheck, I'm running gawk-3.1.1-3 -----Original Message----- From: Peter S Tillier [mailto:peter_tillier AT yahoo DOT co DOT uk] Sent: Monday, October 07, 2002 1:19 pm To: cygwin AT cygwin DOT com Subject: Re: gawk not taking redirected input under command.com ----- Original Message ----- From: "Christopher Faylor" To: Sent: Monday, October 07, 2002 3:42 PM Subject: Re: gawk not taking redirected input under command.com > On Mon, Oct 07, 2002 at 07:14:26AM -0700, Barry Buchbinder wrote: > > C:\> gawk '{print "x" $0 "y"}' < autoexec.bat > >gave no "x" but "y" was at the *beginning* of the line! > > Calm down. > > >C:\> gawk '{print $0 "yz" }' < autoexec.bat > >showed that what was happening was that the "yz" was *overwriting* the > >beginning of the line. > > So, to summarize, this is a standard CRLF problem. If you look at the > output in od or less you can see what is going on. > > I don't know why this version of gawk is having CRLF problems. I'll > check to see if this is a cygwin problem or a gawk problem but I suspect > it is a gawk problem. > > cgf Chris, This bug was fixed in release gawk-3.1.1-3 Peter S Tillier peter_tillier AT yahoo DOT co DOT uk __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- 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/