Version 0.1.1 behavior is documented here. Thesupport record separates local verification frompublished MoonX behavior; moonx examples use registry releases.
Split a file into sections at line numbers or basic regular expressions:
NUMBER splits before that absolute line; /REGEXP/ splits before a matchingline and %REGEXP% discards the preceding section. Regex delimiters may befollowed by a positive or negative line offset. {N} repeats the precedingpattern N additional times. Regex {*} repeats through the remaining input;numeric repetitions that reach beyond the last line report an error.The first operand - reads stdin. All input bytes, including NUL and anunterminated final line, are preserved in selected fragments.
Files are named xx00, xx01, … . -f/--prefix changes the prefix and-n/--digits sets the minimum number of suffix digits. Byte counts are printedfor created files unless -s/--silent or -q/--quiet is selected.-z/--elide-empty-files omits empty fragments. Split failures remove the filescreated by that invocation unless -k/--keep-files is used.
Input is buffered and matching uses ASCII patterns over byte-valued lines.Existing output paths are refused. Backreferences, word extensions, non-ASCIIpatterns, locale-sensitive matching, custom suffix formats and--suppress-matched are rejected. --help and --version provide commandinformation.
Standalone --version prints exactly csplit 0.1.1 followed by onenewline. Standalone --help starts with Usage: csplit, lists bothmetadata options, and ends with a newline. Both write to stdout, leave stdinunread, and exit with status 0. Exact-version publication and verificationremain recorded separately in the support record.