Skip to main content

Module csplit

Module csplit 

Source

Structs§

CsplitConfig
Configuration for the csplit command.

Enums§

Pattern
A parsed csplit pattern.

Functions§

csplit_file
Split a file based on patterns.
csplit_from_path
Split a file by reading from a path or stdin (“-”).
format_suffix
Simple sprintf-like formatter for suffix format strings. Supports %d, %02d, %03d, etc.
output_filename
Generate the output filename for a given file index.
parse_pattern
Parse a pattern string into a Pattern enum.
print_sizes
Print the sizes of created files to stdout.