Wikipedia
Csplit
The csplit command in Unix is a utility that is used to split a file into two or more smaller files determined by context lines.