Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: Date: Mon, 21 Jun 1999 09:39:27 -0700 (PDT) From: To: earnie_boyd AT yahoo DOT com CC: wshu AT essex DOT ac DOT uk, cygwin AT sourceware DOT cygnus DOT com In-reply-to: <19990621140902.25727.rocketmail@web127.yahoomail.com> (message from Earnie Boyd on Mon, 21 Jun 1999 07:09:02 -0700 (PDT)) Subject: Re: How do I split binaries to manageable chunks Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Precedence: bulk Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Mon, 21 Jun 1999 07:09:02 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- "William S. Shu" 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 AT sourceware DOT cygnus DOT com