slice is a minimal, reliable tool for extracting byte ranges from text files, with support for trimming incomplete lines. It is ideal for clean, line-aware chunking of large text files — such as for indexing, archival, or content analysis.
https://github.com/ha1tch/slice
Releases:
https://github.com/ha1tch/slice/releases
Benchmarks:
https://ha1tch.github.io/slice/benchmark_report.html