This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How do I split binaries to manageable chunks


   Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
   Precedence: bulk
   Sender: cygwin-owner@sourceware.cygnus.com
   Delivered-To: mailing list cygwin@sourceware.cygnus.com
   Date: Mon, 21 Jun 1999 07:09:02 -0700 (PDT)
   From: Earnie Boyd <earnie_boyd@yahoo.com>
   Reply-To: earnie_boyd@yahoo.com
   MIME-Version: 1.0
   Content-Type: text/plain; charset=us-ascii

   --- "William S. Shu" <wshu@essex.ac.uk> wrote:

> Hello all,
> I tried using the cygwin-20 split command (under windows 95) to split binary
> files into manageable chunks.  This is for them to be transmitted down noisy
> lines, and be reconstituted (cf. your split version of full.exe).
> Unfortunately, it seems to handle only text files.
> 
> My question is/are:
> 1)    Could you please indicate to split and later recombine binary file(s)?
> 2)    Do I need to convert the file to a text equivalent before using split?
> If so, what software can I use to do this?

> Hmm.  The split program is part of the textutils package.  I just checked the
> cygwin source and find that it does not specify any file processing mode. :-(( 
> I suggest that you get the textutils package and properly port split.c by
> specifying the processing mode for the files being open both input and
> output.

Well, this looks exactly like the situation that shows the ultimate
futility of trying to accomodate MSDOG text files.  How is split to
know what type of file it is handling?  Should we embed a copy of
file(1) into split?  Stoop down to MSDOG practice and rely on file
names?  Or what?


-- 
Ian Zimmerman
Lightbinders, Inc.
2325 3rd Street #324
San Francisco, California 94107
U.S.A.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]