Sha256: 54317d8a646f94f0e96c71df584f7c531a096b845932e3cf066733c71e553434

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

# Word Count

Given a phrase, count the occurrences of each word in that phrase.

For example for the input `"olly olly in come free"`

```plain
olly: 2
in: 1
come: 1
free: 1
```


Run the tests with:

    bats word_count_test.sh

## Source

This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour.

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trackler-2.2.1.86 tracks/bash/exercises/word-count/README.md