Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
It's funny.  Laugh. Unix

Unix Dict/grep Solves Left-Side-of-Keyboard Puzzle 423

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.)"
This discussion has been archived. No new comments can be posted.

Unix Dict/grep Solves Left-Side-of-Keyboard Puzzle

Comments Filter:
  • Re:Didn't work here (Score:3, Interesting)

    by JonathanBoyd ( 644397 ) on Thursday November 20, 2008 @07:01PM (#25839197) Homepage

    Stewardesses is still unsurpassed on my box. (But maybe it's because "GNU's not Unix", so I have a different dictionary file.)

    Whatever dictionary that comes with Mac OS X 10.4 returns 3 words with 13 letters:
    aftercataract
    devertebrated
    tesseradecade

  • Re:Didn't work here (Score:5, Interesting)

    by terremoto ( 679350 ) on Thursday November 20, 2008 @07:27PM (#25839541)

    >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

    ... on Fedora 9 and RHEL 4 and 5 boxes at least.

  • by Junta ( 36770 ) on Thursday November 20, 2008 @07:43PM (#25839709)

    More interesting statistics:
    The longest word I can type without leaving the home keys (not even the whole home row) is sensuousness.
    231 words longer than six chars are possible with the dvorak home keys without moving
    6 words longer than six chars on the qwerty home keys
    1,091 words longer than 6 charsare possible with the dvorak home row
    9 words longer with the qwerty home row.

    1,139 words longer than six letters can be typed with left hand in qwerty (bad sign)
    9 words longer than six letters can be typed with left hand in dvorak.

    46 words longer than six letters can be typed in qwerty right hand.
    0 words longer than six letters can by typed by dvorak right hand.

    Never played around with this, but now that I have, it does kinda prove that dvorak does a good job of keeping the activity balanced between hands and on the home row.

  • Re:what? (Score:3, Interesting)

    by cayenne8 ( 626475 ) on Thursday November 20, 2008 @08:20PM (#25840107) Homepage Journal
    Ok...to be semi-technical.

    Technically...where on the keyboard does it stop being the left side, and start being considered the right side of the keyboard?

    Frankly, I don't see a set dividing line....? Nothing is really centered.

  • Re:Didn't work here (Score:2, Interesting)

    by fishbowl ( 7759 ) on Thursday November 20, 2008 @08:25PM (#25840153)

    It's not just in simple suffix and prefix usage, either. There are modifier forms that are legal, if perhaps slightly archaic, that while correct will not have explicit entries in a dictionary. I once had a big argument about the word "schedular", in the sense of "make sure you tend to your schedular duties." It's complicated, because it's an etymological principle that allows it, and even though I am right, I lost the argument because "schedular" had no entry in the dictionary the other person was using. I didn't remain at that job much longer. (I don't work well with people who cannot ever admit any possibility that they could be wrong.)

  • Re:what? (Score:5, Interesting)

    by holizz ( 737615 ) on Friday November 21, 2008 @08:53AM (#25844105) Homepage

    % grep "^[aoeui',.p;qjkx]*$" /usr/share/dict/british-english-huge | awk '{print length($1) " " $1}' | sort | tail -n1
    9 okupukupu
    % grep "^[dhtnsfgcrlbmwvz]*$" /usr/share/dict/british-english-huge | awk '{print length($1) " " $1}' | sort | tail -n3
    6 crwths
    6 ftncmd
    6 mtscmd

    I think somebody compromised Debian's servers and added nonsense words to the dictionaries.

  • extraterrestials FTW (Score:3, Interesting)

    by atomic-penguin ( 100835 ) <wolfe21@@@marshall...edu> on Friday November 21, 2008 @11:44AM (#25846201) Homepage Journal

    I RTFA and didn't find any mention of this supposed word, anywhere. So I ran my own grep on the dictionary.

    Left hand results:

    egrep '[abcdefgqrstvwxz]{12,}' /usr/share/dict/words
    winner: extraterrestrials

    Right hand results:

    egrep "[hijklmnopuy'-]{9,}" /usr/share/dict/words
    winner: polyphony's

    Top row results

    egrep '[qwertyuiop]{11,}' /usr/share/dict/words
    winner: teletypewriter's

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...