| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4AE10BBF.9040703@comcast.net> |
| Date: | Thu, 22 Oct 2009 21:49:51 -0400 |
| From: | "P.A.Long" <T DOT A DOT N DOT S DOT T DOT A DOT A DOT F DOT L AT comcast DOT net> |
| User-Agent: | Mozilla-Thunderbird 2.0.0.22 (X11/20090707) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: gawk Has Problem With CRLF in Mixed Binary/Text Files |
| References: | <4ADFC176 DOT 1060403 AT gmail DOT com> <4AE10A39 DOT 8040005 AT comcast DOT net> |
| In-Reply-To: | <4AE10A39.8040005@comcast.net> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
P.A.Long wrote:
> Dave Korn wrote:
>> t.a.n.s.t.a.a.f.l@ wrote:
>>
>>> [ ... ] but as can be seen by the attached files, the downloaded gawk
>>> executable always changes CRLF to LF,
>>
>> Is this what you're looking for?
>>
***snip***
>> [ ... continues ... ]
>>
>>
>> cheers,
>> DaveK
>>
>
> Dave:
>
> Didn't work (see attached file). Of course, I could have set BINMODE
> the wrong way, but I used the -v method to make sure that it got set
> before the BEGIN action. If U see anything wrong with what I've done,
> please tell me; I'm not too proud to admit silly mistakes!
>
> And speaking of silly mistakes, I should have looked at the manpage for
> gawk *and* at the documentation for Cygwin before I posted; I'll do that
> tomorrow. I'll post anything I find; in the meantime, at the suggestion
> of David Dyck, I'll be running a2p on my gawk script and using perl
> instead.
>
> Thx, Phil Long
> << File: cygwinGawk-withBINMODEset.stillNotWorking >>
>
>
Dave:
Sigh ... boy, is my face red; I didn't look close enough at my output.
I guess it's always a better idea to check the message *before* U send
it then after.
Thx, Phil Long
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |