Conta le parole

Dato un file di testo testo.txt

 grep -o "[[:alpha:]]*" testo.txt | sort | uniq -c | sort -n