find longest anagrams in unix dictionary