Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ghurtchu/wc
- Owner: Ghurtchu
- Created: 2023-08-26T17:16:36.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-13T20:47:39.000Z (10 months ago)
- Last Synced: 2024-01-14T05:56:29.069Z (10 months ago)
- Topics: functional-programming, scala, unix, wc
- Language: Scala
- Homepage:
- Size: 5.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)