| | Splitting text files. Kevin Bannister
|
| | does anyone know of a way to split a text file into multiple files based on the number of lines? ie: 5000 lines split in to five files of 1000 lines each. i've been trying to figure out a way to do it with perl, but no luck so far. but any way to (...) (24 years ago, 6-Nov-00, to lugnet.off-topic.geek)
|
| | |
| | | | Re: Splitting text files. Christopher Lindsey
|
| | | | (...) If you're using a UNIX variant the split command will do this for you. i.e. split -l 1000 [filename] Chris (24 years ago, 6-Nov-00, to lugnet.off-topic.geek)
|
| | | | |
| | | | | | Re: Splitting text files. Matthew Miller
|
| | | | | (...) Since this is a gnu tool, you can probably get this on many non-Unix platforms too. (24 years ago, 6-Nov-00, to lugnet.off-topic.geek)
|
| | | | | |
| | | | | | Re: Splitting text files. Kevin Bannister
|
| | | | (...) thanks! that worked beautifully. (24 years ago, 6-Nov-00, to lugnet.off-topic.geek)
|
| | | | |