Csplit

csplit
Operating systemUnix and Unix-like
PlatformCross-platform
TypeCommand
LicenseGNU GPL v3

The csplit command in Unix and Unix-like operating systems is a utility that is used to split a file into two or more smaller files determined by context lines.