A Rust implementation of GNU's wc cli
rwc - Rust implementation of wc. print newline, word, and byte counts for each file
Usage: rwc [OPTIONS]
Arguments:
Options:
-c, --bytes Print the bytes counts
-m, --chars Print the character counts
-l, --lines Print the newline counts
-h, --help Print help
-V, --version Print version
- clap 4.5.7 with derive: https://docs.rs/clap/latest/clap/index.html
- bytecount 0.6.8: https://docs.rs/bytecount/0.6.8/bytecount/
This is a WIP. Only char and byte counts have been implemented.
For now both are faster and consume less that the original wc (tested with cyrus of artamene).
Only read from files for now.
License MIT.