Unix Dict/grep Solves Left-Side-of-Keyboard Puzzle
destinyland writes "For decades, people have been asking this brain teaser: 'What's the longest word you can type with only the left-hand letters on a keyboard?' The answer is supposed to be 'stewardesses,' but grepping the standard dictionary that ships with Unix reveals
a much better answer. There's nearly 2,000 shorter words that can typed with only the left hand — including one word that's even longer. (The article also quotes a failed novel attempt using nothing but words typed on the keyboard's left side.)"
>The longest word I got was 'redrawerredrawers',
>which probably indicates that my wordfile is corrupted
I think you've found a bug ...
% grep '^redrawer' /usr/share/dict/words
redrawer
redrawerredrawers
redrawers
% grep "^[aoeui',.p;qjkx]*$" /usr/share/dict/british-english-huge | awk '{print length($1) " " $1}' | sort | tail -n1 /usr/share/dict/british-english-huge | awk '{print length($1) " " $1}' | sort | tail -n3
9 okupukupu
% grep "^[dhtnsfgcrlbmwvz]*$"
6 crwths
6 ftncmd
6 mtscmd
I think somebody compromised Debian's servers and added nonsense words to the dictionaries.