Sha256: 359c0190bae71f258d95f5ce59802f629d1611808a112fcee177c821f76d3d34

Contents?: true

Size: 648 Bytes

Versions: 74

Compression:

Stored size: 648 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"`

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

# How to run the tests

If you don't know how to run Vader tests, see:
[Tests](http://exercism.io/languages/vimscript/tests).

For general information about the Vim script track, see:
[Help](http://exercism.io/languages/vimscript).

## 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

74 entries across 74 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.179 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.178 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.177 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.176 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.175 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.174 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.173 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.172 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.171 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.170 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.169 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.167 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.166 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.165 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.164 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.163 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.162 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.161 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.160 tracks/vimscript/exercises/word-count/README.md