#!/usr/bin/env bash
# We eliminate high bit characters, to contend with some latin-1 stuff tripping up the [^ ]*
./dumpdb $(find . -type f -name files -print) | \
tr -d '[\200-\377]' | \
sed -e 's/-> [^ ]* *//' -e 's/anaDB.pdb//' | \
awk ' { print $1 }' | \
sed '/^$/d' | \
histogram | \
sort -n