Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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"

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