Important
WIP
This is a work in progress and is not yet ready for use (and may never be).
(Educational & Recreational) implementation of wc unix command in Rust
Important
Format support
For now, only text files are supported. The program will not work correctly with other file types.
cargo run -- [OPTIONS] [FILE]or
cargo buildand then :
./target/debug/ccwc [OPTIONS] [FILE]or install the binary in your path and use it as a regular command :
cp ./target/debug/ccwc /usr/local/bin
ccwc [OPTIONS] [FILE]-c: Print the byte counts-m: Print the character counts-l: Print the newline counts-w: Print the word counts
Any remarks or suggestions are very welcome, feel free to open an issue or a pull request.