This is an attempt to solve this
A custom implementation of wc tool of linux in golang.
Options:
-c
count the number of bytes-l
count the number of lines-w
count number of words-m
count number of utf-8 bytes. (runes)
Usage
ccwc -w test.txt
or it takes input from the stdin stream as well
cat test.txt | ccwc -c