coreutils/src/uu/split
Jeffrey Finkelstein dbbee573ab split: add support for "-n l/NUM" option to split
Add support for `split -n l/NUM`. Previously, `split` only supported
`-n NUM`, which splits a file into `NUM` chunks by byte. The `-n
l/NUM` strategy splits a file into `NUM` chunks without splitting
lines across chunks.
2022-02-22 18:44:08 -05:00
..
src split: add support for "-n l/NUM" option to split 2022-02-22 18:44:08 -05:00
BENCHMARKING.md split: add BENCHMARKING.md documentation file 2022-02-08 22:58:00 -05:00
Cargo.toml split: add ByteChunkWriter and LineChunkWriter 2022-02-08 22:53:56 -05:00
README.md change ~ make all sub-crates independent 2020-05-29 22:59:40 -05:00

Rudimentary "split" Implementation

Missing Features

Flags

  • --verbose - created file printing is implemented, don't know if there is anything else

Possible Optimizations

  • Use slice ([u8]) directly as the control.current_line.