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: | <F5AFD56E32E8D21191090060974838B165F668@ulm003.vs.dasa.de> |
From: | "Lasslop, Andre" <Andre DOT Lasslop AT vs DOT dasa DOT de> |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | awk question : 0x1a - file end problem |
Date: | Tue, 14 Sep 1999 14:22:39 +0200 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2448.0) |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id IAA05135 |
Hello, I'm trying to scan binary files (log files of serial i/o, contains lists of binary messages with header,tail, and timestamp) with the awk - program. The awk-script does what I want. The only problem I detect is, if a 0x1a - Byte occurs within the input file this is interpreted as a premature end of file ! I know, the awk program is for text-file scanning. Therefore : is there any other possibility to scan such binary files for byte-patterns without programming such tool by myself ? I'm using cygwin b20.1, NT4.0. Thanks André Lasslop -- 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 |