Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 440 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 440 Bytes

CWC tool

Basic Go implementation of wc tool.

Usage

$ go build  .
$ ./cwc text.txt

Alternatively, you can choose to your own local file path

CWC flags

  • -c : Used for counting number of bytes in the file
  • -l : Used for counting number of lines in the file
  • -w : Used for counting number of words in the file
  • -m : Used for counting Characters in the file

You may use -h for help in the terminal itself.