Skip to content

manojshr/word-count-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Jar First

> ./gradlew clean build

The Jar will be created in build/libs/word-count-.jar path

Add Shell alias

> alias jwc='java -jar <absolute-path>/build/libs/word-count-initial.jar'

Let's Play

> jwc -h
Usage: jwc [-chlmVw] <file>
Gives you the word count
      <file>      Provide absolute file path
  -c, --bytes     Print the byte counts
  -h, --help      Show this help message and exit.
  -l, --lines     Print the newline counts
  -m, --chars     Print the character counts
  -V, --version   Print version information and exit.
  -w, --words     Print the word counts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages