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.139 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.138 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.137 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.136 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.135 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.134 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.133 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.132 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.131 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.130 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.129 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.128 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.127 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.126 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.125 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.124 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.123 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.122 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.121 tracks/vimscript/exercises/word-count/README.md
trackler-2.2.1.120 tracks/vimscript/exercises/word-count/README.md