delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/18/16:37:24

From: jcook AT mseng DOT kla DOT com (John Cook)
Subject: using cat on binary files (CTRL-Z trauma)
18 Oct 1996 16:37:24 -0700 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <326803E3.cygnus.gnu-win32@mscorp.kla.com>
Original-To: gnu-win32 <gnu-win32 AT cygnus DOT com>
Encoding: 12 TEXT
X-Mailer: Microsoft Mail V3.0
Original-Sender: owner-gnu-win32 AT cygnus DOT com


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?) so this makes sense within the cmd shell, but the same
thing occurs within bash.  Is there a way to prevent this
behavior when using cat?

Thanks,

John Cook
jcook AT kla DOT com
-
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019