Mail Archives: cygwin/1996/10/21/18:39:24
On Fri, 18 Oct 1996, root wrote:
> Date: Fri, 18 Oct 1996 22:55:31 -0700
> From: root <root AT jacob DOT remcomp DOT fr>
> 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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -