0

I want to find all the bigrams in a file and sort them ascendingly according to frequency. This is how far I have gone:

cat filename.txt | tr [:upper:] [:lower:] | tr -d [:punct:]