csplit
| csplit | |
|---|---|
| Operating system | Unix and Unix-like |
| Platform | Cross-platform |
| Type | Command |
| License | GNU GPL v3 |
csplit is a shell command for splitting a file into two or more smaller files determined by context lines. The command is commonly available on Unix and Unix-like operating systems.
The command is part of the X/Open Portability Guide since issue 2 of 1987. It was inherited into the first version of POSIX and the Single Unix Specification. It first appeared in PWB UNIX. The version in GNU coreutils was written by Stuart Kemp and David MacKenzie. The command is available for Windows via UnxUtils.