#!/usr/bin/env sh

# shellcheck disable=SC2016
ruby -F'[^a-zA-Z0-9]+' -ane '
    BEGIN   { $words = Hash.new(0) }
    $F.each { |word| $words[word.downcase] += 1 }
    END     { $words.each { |word, i| printf "%3d %s\n", i, word } }
' |
sort -rn
