Agility Kata “Word Count IV”
Die Anwendung zeigt nicht nur die Anzahl der Wörter, sondern auch die Anzahl der eindeutigen Wörter an. Beispielanwendung:
$ wordcount Enter text: Humpty-Dumpty sat on a wall. Humpty-Dumpty had a great fall. Number of words: 10, unique: 8 $