Slashdot Mirror


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.)"

3 of 423 comments (clear)

  1. bbbbb by HaeMaker · · Score: 0, Troll

    I hit b with my right hand.

  2. Mod parent redundant by Anonymous Coward · · Score: -1, Troll

    Your regex is broken. You only want single words that can contain those letters, not words that just happen to contain letters from the left side of the keyboard. You lucked out since you're using such long words, but that wouldn't work to find all words that can be typed on the left hand side of the keyboard. That's why everyone else is surrounding the regex with ^$ - they know what they're doing.

    Oh, and you're redundant along with being wrong.

  3. Totally insensitive clods!!! by gzipped_tar · · Score: 0, Troll

    I use a Dvorak keyboard you insensitive clod!

    --
    Colorless green Cthulhu waits dreaming furiously.