Breaking large file into pieces

Parag Shah parag at shah.austin.ibm.com
Wed Sep 12 07:14:26 AEST 1990


>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      



More information about the Comp.unix.shell mailing list