Skip to content

shxntanu/wc-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Counter

Word Counter implementation in Rust.

Challenge

Usage

cargo run -- <flag> <filename>

or

cargo run <file>

Example

> cargo run src/test.txt

$ Finished dev [unoptimized + debuginfo] target(s) in 0.22s
     Running `target/debug/ccwc src/test.txt`
Total number of lines in the file are: 17
> cargo run -- -l src/test.txt

$ Compiling ccwc v0.1.0 (/Users/shantanu/Desktop/Rust/ccwc)
    Finished dev [unoptimized + debuginfo] target(s) in 0.93s
     Running `target/debug/ccwc -l src/test.txt`
Total number of lines in the file are: 17

About

🦀 Word Counter CLI in Rust

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages