🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1037

Re: Breaking large file into pieces

#1037
From: Parag Shah
Date: Tue, 11 Sep 1990 21:14
13 lines
883 bytes
>I want to rip a large file into pieces, naming new files according
>to an ID string in the large file.  For example, the large file contains
>records that look like this:

>xxx-00001239	data	data	data
>description
 
Seems like the "csplit" command may be able to help you.
You may have to rename the namely created files later using
the first line to get the number id that you want.

Parag      
Technical Details
Message-ID: <3466@awdprime.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!d75!awdprime!shah.austin.ibm.com!parag
References: <1990Sep11.134238.20218@dg-rtp.dg.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!d75!awdprime!shah.austin.ibm.com!parag
From: parag@shah.austin.ibm.com (Parag Shah)
Newsgroups: comp.unix.shell
Subject: Re: Breaking large file into pieces
Message-ID: <3466@awdprime.UUCP>
Date: 11 Sep 90 21:14:26 GMT
References: <1990Sep11.134238.20218@dg-rtp.dg.com>
Sender: news@awdprime.UUCP
Reply-To: parag@shah.austin.ibm.com (Parag Shah)
Organization: IBM Austin, TX
Lines: 13