| delorie.com/archives/browse.cgi | search |
| 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 |
| Message-ID: | <000801c26e25$ae2c9d80$5c16989e@oemcomputer> |
| Reply-To: | "Peter S Tillier" <peter_tillier AT yahoo DOT co DOT uk> |
| From: | "Peter S Tillier" <peter_tillier AT yahoo DOT co DOT uk> |
| To: | <cygwin AT cygwin DOT com> |
| References: | <20021007141426 DOT 38339 DOT qmail AT web40602 DOT mail DOT yahoo DOT com> <20021007144242 DOT GE7767 AT redhat DOT com> |
| Subject: | Re: gawk not taking redirected input under command.com |
| Date: | Mon, 7 Oct 2002 18:19:16 +0100 |
| Organization: | Private |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
----- Original Message -----
From: "Christopher Faylor" <cgf AT redhat DOT com>
To: <cygwin AT cygwin DOT com>
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!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |