[−][src]Crate rcut
rcut
is a Rust replacement for GNU cut that supports UTF-8.
Implementation details are exported for reusability in case users
are interested in building their own char/word cutter.
Structs
AsciiCharLineProcessor | |
CharContext | |
CharProcessor | |
FieldContext | |
FieldProcessor | |
Utf8CharLineProcessor | |
Utf8FieldLineProcessor |
Traits
CharContextT | |
FieldContextT | |
ProcessLine | |
ProcessRcut |
Functions
extract_ranged_pairs | Extract list of comma-separated ranged pairs |
merge_ranged_pairs | Sort ranged pairs and merge those having adjacent or overlapping boundaries |
prepare_ranged_pairs | Utility function to process ranged pairs (extract, and may or may not merge) |
run | Perform operations similar to GNU cut |
str_to_ranged_pair | Extract ranged pair having the pattern |
version | Cargo version specified in the Cargo.toml file |