delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <19991122211209.1217.rocketmail@web109.yahoomail.com> |
Date: | Mon, 22 Nov 1999 13:12:09 -0800 (PST) |
From: | Earnie Boyd <earnie_boyd AT yahoo DOT com> |
Reply-To: | earnie_boyd AT yahoo DOT com |
Subject: | Re: 0x1a bug - its not just awk |
To: | Gareth Williams <dgwilliams AT dera DOT gov DOT uk>, cygwin AT sourceware DOT cygnus DOT com |
Cc: | gareth AT dgwsoft DOT co DOT uk |
MIME-Version: | 1.0 |
--- Gareth Williams <dgwilliams AT dera DOT gov DOT uk> wrote: > I just downloaded B20.1 and compiled a few C++ programs under NT4. > Those that write data work fine. Those that read fail on the byte > 0x1a. > > I have seen the reports that awk can not read the byte 0x1a. > > Well, the problem is not with awk. "cat" can't read it. > "cin.get(c)" can't read it. However cp can copy it. And it is > OK reading from a pipe, just not from a file. > -8<- cat and awk are _text_ utilities. (no flames please) This has to do with text mode file processing vs binary mode file processing. Please visit my webpage and search the archives for explainations. ===== Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com> Cygwin Newbies, please visit <http://www.freeyellow.com/members5/gw32/index.html> __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |