Version 0.1.0 is a local candidate. Thesupport record distinguishes workspace checks frompublished MoonX behavior; the examples become available after publication.
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.