Subject: re: using cat on binary files (CTRL-Z trauma)
From: [email-masked] (John Cook)

21 Oct 1996 18:39:24 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: "'gnuwin32'" <[email-masked]>
Encoding: 26 TEXT
X-Mailer: Microsoft Mail V3.0
Original-Sender: [email-masked]

On Fri, 18 Oct 1996, root wrote:

> Date: Fri, 18 Oct 1996 22:55:31 -0700
> From: root <[email-masked]>
> Subject: Re: using cat on binary files (CTRL-Z trauma)
> >
> > When I try to cat a binary file, cat bails upon receiving
> > the first CTRL-Z byte.  CTRL-Z is the DOS end-of-file character
> > (right?)

> Wrong!
> DOS doesn't use the Ctrl-Z character since (at least) DOS 3.X
> i.e. several centuries ago in this rapEEdly moving field! We are
> now in DOS Windows NT style, quite a change since C:>

Thank you for this clarification...  I am still looking for an answer
to my main question, however:  Is there a way to prevent cat from
quitting when it finds a CTRL-Z in its input under either the Win32
console or GnuWin32 bash?

....And if CTRL-Z is _not_ an EOF character, then why does cat behave
this way within Windows NT?  Is cat not intended for binary files under
Win32 environments?

John Cook
-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".