Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghurtchu/wc

unix wc clone
https://github.com/ghurtchu/wc

functional-programming scala unix wc

Last synced: 5 days ago
JSON representation

unix wc clone

Awesome Lists containing this project

README

        

### Build your own word counter

https://codingchallenges.substack.com/p/coding-challenge-1

Setting up and testing:

- run: `cd ~`
- clone the repo
- run: `cd wc`

run the following commands for testing:
- `./wc -c ~/input.txt`
- `./wc -m ~/input.txt`
- `./wc -w ~/input.txt`
- `./wc -l ~/input.txt`
- `./wc ~/input.txt`
- `cat ${some_file_path} | ./wc -c`
- `cat ${some_file_path} | ./wc -m`
- `cat ${some_file_path} | ./wc -w`
- `cat ${some_file_path} | ./wc -l`

Example screenshot on my own machine:

![My Image](example.png)