Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 341 Bytes

README.md

File metadata and controls

22 lines (19 loc) · 341 Bytes

wordcount

wordcount is a cli tool that counts the number of words from input sentence and outputs TOP 3 words in descending order.

Usage

wordcount [sentence]

Example

$ wordcount "dog dog dog. cat. fish fish. go go go go."
go
dog
fish
$ echo "dog dog dog. cat. fish fish. go go go go." | wordcount
go
dog
fish