Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/narven/wc
Word Count - from the book "Powerful Command-Line Applications in Go"
https://github.com/narven/wc
Last synced: 25 days ago
JSON representation
Word Count - from the book "Powerful Command-Line Applications in Go"
- Host: GitHub
- URL: https://github.com/narven/wc
- Owner: Narven
- Created: 2024-08-23T12:29:39.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-08-23T13:30:02.000Z (2 months ago)
- Last Synced: 2024-08-24T13:56:27.522Z (2 months ago)
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wc
`wc` is a world counter made in go, made while following the book "Powerful Command-Line Applications in Go".
## Usage
```sh
echo "word1 word2 word3" | wc
```3
```sh
echo "word1 word2 word3\nword4 word5" | wc -l
```2