public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Lasslop, Andre" <Andre.Lasslop@vs.dasa.de>
To: cygwin@sourceware.cygnus.com
Subject: awk question : 0x1a - file end problem
Date: Thu, 30 Sep 1999 23:42:00 -0000	[thread overview]
Message-ID: <F5AFD56E32E8D21191090060974838B165F668@ulm003.vs.dasa.de> (raw)
Message-ID: <19990930234200.dpX-GviThCPrmZl5PW-JOeghIDi92_jt5K2kro6dFXA@z> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]

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

             reply	other threads:[~1999-09-30 23:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-14  5:22 Lasslop, Andre [this message]
1999-09-19 11:01 ` Michael Hirmke
1999-09-30 23:42   ` Michael Hirmke
1999-09-30 23:42 ` Lasslop, Andre
1999-09-14  5:59 Earnie Boyd
1999-09-30 23:42 ` Earnie Boyd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F5AFD56E32E8D21191090060974838B165F668@ulm003.vs.dasa.de \
    --to=andre.lasslop@vs.dasa.de \
    --cc=cygwin@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).