This is an implementation of the wc tool from Coding Challenges.
Make sure you've installed Go
Run the following:
go build -o ccwc
And then you can run the CLI:
./ccwc -h
There's a sample file (test.txt
) which you can use to see how it goes:
./ccwc -l test.txt