Custom clone of wc
cli tool in golang
- Clone the git repository with the command
git clone git@github.com:sujeetsawala/ccwc.git
- Run
go mod tidy
- Run
go install ccwc
- The binaries will be present in the GOPATH
ccwc [flag] [filepath]
c : count of bytes in the file
w : count of words in the file
l : count of lines in the file
m : count of multibytes in the file