From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0.inoc.net ([64.246.130.30]) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 18AIwz-0005hG-00 for ; Fri, 08 Nov 2002 18:54:09 -0500 Received: from champion.valstar.net (cust67.as1-gtown.valstar.net [64.246.150.69]) by mx0.inoc.net (Vircom SMTPRS 5.3.232) with ESMTP id for ; Fri, 8 Nov 2002 18:54:06 -0500 Received: from champion.valstar.net (IDENT:1000@localhost [127.0.0.1]) by champion.valstar.net (8.12.4/8.12.4) with ESMTP id gA8Ns2Yo004507 for ; Fri, 8 Nov 2002 18:54:03 -0500 Received: from localhost (hallenbeck@localhost) by champion.valstar.net (8.12.4/8.12.4/Submit) with ESMTP id gA8Ns1rZ004504 for ; Fri, 8 Nov 2002 18:54:02 -0500 Date: Fri, 8 Nov 2002 18:54:01 -0500 (EST) From: Charles Hallenbeck To: speakup@braille.uwo.ca Subject: re: in place file splitter In-Reply-To: <000701c28776$44998e40$e11917cf@SD43.bc.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Removing the input file before the output files are written is what we used to call a "bridge burn". When you make a list of the chunks of the input file, where are they held before writing them? Does this mean you have to have a ram total that is at least the size of the file? Just curious. On Fri, 8 Nov 2002, Tyler Spivey wrote: > well, normally the split command does something like: > 1. open the file for reading. > 2. take one chunk, open a new output file, place it there and close it. > 3. repeat until split. > this keeps the original file, and on a space limited system, e.g. a quota, > you're out of luck. > in place does: > 1. open the file for reading. > 2. read al the chunks into some kind of list. > 3. wait to press enter, so the user can suspend the program and remove the > file. > 4. write the output files. > if you remove the original file, the split files take up almost the same > space so quotas don't get in the way. > my program is no where complete, just a skeleton though. > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > -- The Moon is Waxing Crescent (22% of Full) So visit me at http://www.valstar.net/~hallenbeck