Skip to content

mockillo/rainbo-wc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rainbo-wc

A colorful practice project implementing wc in Rust

Usage

Supports most of the modes wc offers.

If you want specific output, you can specify modes with the following flags:

  • -w, --words: Print word count
  • -l, --lines: Print line count
  • -c, --bytes: Print byte count
  • -m, --chars: Print character count

Output will render in glorious pastel rainbow colors, if your terminal supports it.

rainbo-wc test.txt

You can also pipe your content to rainbo-wc, as such:

cat <file> | rainbo-wc

Installation

Compile from source

cargo build --release

Or just run it with

cargo run -- <flags> <filename>

About

A colourful practice project implementing wc in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages