Skip to content
shxntanuPublic

About

🦀 Word Counter CLI in Rust

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages