delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/12/14:44:21

From: slinger AT signal DOT dera DOT gov DOT uk (Chris Slinger)
Subject: catting binary files in bash (newbie Q)
12 Jan 1999 14:44:21 -0800 :
Message-ID: <199901121423.OAA14321.cygnus.gnu-win32@ouzel>
To: gnu-win32 AT cygnus DOT com
Cc: slinger%ouzel AT signal DOT dera DOT gov DOT uk

I'm sure that this has been raised before but I cannot find an answer
despite searching the FAQ and mailing list, so your patience is appreciated.

I'm transferring files to the PC running cygwin bash-2.02, using split
to put them on floppies from a zsh running under solaris.  When I try
and reasseble the split parts on the pc by using cat e.g. :
bash-2.02$ cat xaa xab > file.exe

Then the resulting file is incorrect (not the inverse of the
split), if xaa etc are binary.

When I do this on the solaris under zsh, it works fine.

I know I can assemble the bits correctly using dos, but how do I do it
using bash?

Ta,

Chris.
slinger AT dera DOT gov DOT uk
-
For help on using this list (especially unsubscribing), 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