This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
awk question : 0x1a - file end problem
- To: cygwin AT sourceware.cygnus dot com
- Subject: awk question : 0x1a - file end problem
- From: "Lasslop, Andre" <Andre.Lasslop AT vs.dasa.de>
- Date: Tue, 14 Sep 1999 14:22:39 +0200
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@sourceware.cygnus.com