Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

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

Posted by timothy on Thu Nov 20, 2008 05:40 PM
from the mysteries-of-the-ages dept.
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.)"
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Nice summary (Score:5, Insightful)

    by gardyloo (512791) on Thursday November 20 2008, @05:43PM (#25838987)

    There's nearly 2,000 shorter words that can typed with only the left hand -- including one word that's even longer.

    Ganz falsch!

  • The answer is (Score:5, Informative)

    by ConanG (699649) on Thursday November 20 2008, @05:47PM (#25839029)
    Devertebrated

    Link to the original article next time!
  • Misleading summary (Score:5, Insightful)

    by JonathanBoyd (644397) on Thursday November 20 2008, @05:49PM (#25839053) Homepage

    The longest word isn't found in the 'a much better answer' link, but rather the other one, somewhat misleadingly. The word, in case you're interested, is supposed to be 'devertebrated', though the Oxford English Dictionary doesn't recognise it.

    There's nearly 2,000 shorter words that can typed with only the left hand -- including one word that's even longer.

    How exactly can shorter words include a longer one?

    • by svnt (697929) on Thursday November 20 2008, @06:07PM (#25839271)

      This is such an obvious blog spam by this guy that it is painful.

      Both blog entries (one completely redundant to mask the referrals), are authored by "Moe Zilla" (painfully lame pseudonym, btw) whose "ultimate goal is to earn money online while writing about whatever I want," [helium.com] and whose writing style has the exact same defects as those in the summary.

      Give up dude, your high school English teach was right: you suck.

    • by blake182 (619410) on Thursday November 20 2008, @06:39PM (#25839673)

      The longest word isn't found in the 'a much better answer' link, but rather the other one, somewhat misleadingly. The word, in case you're interested, is supposed to be 'devertebrated', though the Oxford English Dictionary doesn't recognise it.

      ~$ uname -rs
      Darwin 9.5.1
      ~$ grep "^[asdfgqwertzxcvb]\{13,\}$" /usr/share/dict/words
      aftercataract
      devertebrated
      tesseradecade

      Someone with an OED can feel free to check them.

      • by Rary (566291) on Thursday November 20 2008, @09:52PM (#25841275)

        A "tesseradecade" is a group of fourteen. Not only that, it can be pluralized by adding an "s", which happens to also be on the left side of the keyboard, and which brings the letter count to... fourteen. Therefore, "tesseradecades" is a tesseradecade of letters on the left side of the standard Qwerty keyboard.

  • by pandrijeczko (588093) on Thursday November 20 2008, @05:50PM (#25839067)

    ...type http://www.uniform/ [www.uniform] fetish.com/pics/stewardesses/ with one hand.

  • Didn't work here (Score:4, Informative)

    by Waffle Iron (339739) on Thursday November 20 2008, @05:52PM (#25839095)

    $grep -i '^[qwertasdfgzxcvb]\{12,\}$' /usr/share/dict/words
    aftereffects
    desegregated
    desegregates
    reverberated
    reverberates
    stewardesses

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

    • by poot_rootbeer (188613) on Thursday November 20 2008, @05:55PM (#25839121)

      The longest word I got was 'redrawerredrawers', which probably indicates that my wordfile is corrupted.

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

        by terremoto (679350) on Thursday November 20 2008, @06: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.

    • Re: (Score:3, Interesting)

      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: (Score:3, Informative)

      Interestingly enough, the longest word that can be typed with the *other* half of the keyboard, which as a lot less letters, is "phyllophyllin" -- one letter longer than "stewardesses". Check this out:

      $ grep -i '^[yuiophjklnm]\{12,\}$' /usr/share/dict/words
      hypophyllium
      miminypiminy
      phyllophyllin

      Mind you, I don't know what any of those mean. :)

    • Okupukupu! (Score:5, Funny)

      by IdahoEv (195056) on Thursday November 20 2008, @06:47PM (#25839751) Homepage

      The longest word I can type with my left hand [wikipedia.org] is "okupukupu", you QWERTY-using insensitive clods!

      [15:44:56] ~$ grep -i '^[pyaoeuiqjkx]\{14,\}$' /usr/share/dict/words
      [15:44:58] ~$ grep -i '^[pyaoeuiqjkx]\{13,\}$' /usr/share/dict/words
      [15:45:04] ~$ grep -i '^[pyaoeuiqjkx]\{12,\}$' /usr/share/dict/words
      [15:45:07] ~$ grep -i '^[pyaoeuiqjkx]\{11,\}$' /usr/share/dict/words
      [15:45:12] ~$ grep -i '^[pyaoeuiqjkx]\{10,\}$' /usr/share/dict/words
      [15:45:16] ~$ grep -i '^[pyaoeuiqjkx]\{9,\}$' /usr/share/dict/words
      okupukupu

    • by QuantumG (50515) * <qg@biodome.org> on Thursday November 20 2008, @06:51PM (#25839789) Homepage Journal

      uh huh. Ya know why the unix dictionary file doesn't contain every word in the english language? Because it can't. It's a productive system. There's an infinite number of words.

      For example, 'desegregated' means something like: something was segregated and now it isn't. And segregated means that, some time in the past, someone decided to segregate. If they decide to do that again, well then it's resegregated. And what happens to it when you undo that segregation? You get deresegregated. What happens if they decide to segregate again? reresegregated? then dereresegregated? Is there a limit? No. Language is awesome.

    • This is the SOWPODS international scrabble tournament dictionary
      % egrep '^[qwertasdfgzxcvb]{12,}$' /usr/local/share/scrabble
      abracadabras
      aftereffects
      decerebrated
      decerebrates
      desegregated
      desegregates
      extravagated
      extravagates
      extravasated
      extravasates
      reaggregated
      reaggregates
      resegregated
      resegregates
      reverberated
      reverberates
      stewardesses
      sweaterdress
      sweaterdresses
      watercresses
    • Thanks for the code. This is what you can type on the home row:

      Dvorak:
      2-11 letters: 3358 words
      12: 54 words
      13: 24 words
      14: 14 words
      15: 5 words
      16: 2 words
      17: 2 words
      18: 1 word

      Qwerty:
      2-11 letters: 202 words
      12: 0 words.
      -
      uname -a
      Darwin maclappy 9.5.1 Darwin Kernel Version 9.5.1: Fri Sep 19 16:19:24 PDT 2008; root:xnu-1228.8.30~1/RELEASE_I386 i386 i386 MacBookPro5,1 Darwin

  • by musth (901919) on Thursday November 20 2008, @05:54PM (#25839109)

    This has been known to logologists for years as the "best" answer to this puzzle. I believe it's from Webster's 2nd or 3rd Unabridged.

  • by sxltrex (198448) on Thursday November 20 2008, @06:00PM (#25839185)

    From the article:

    Technically, the word "reverberated" is just as long, and so is "desegregated" - but they're sometimes disqualified because they require using the past tense.

    So past tense is disqualified but plural is ok? What official body is making up these rules?

  • by laddiebuck (868690) on Thursday November 20 2008, @06:11PM (#25839315)
    Personally, I'm much more likely to type "stewardesses" into a search engine when I need to use only one hand... for whatever reason.
  • Honestly... (Score:5, Insightful)

    by Orlando (12257) on Thursday November 20 2008, @06:16PM (#25839405) Homepage

    who cares?

  • Woah! (Score:3, Funny)

    by nog_lorp (896553) * on Thursday November 20 2008, @06:25PM (#25839515)

    There's nearly 2,000 shorter words that can typed with only the left hand â" including one word that's even longer.

    Wait, there is a word that is both shorter and longer than "stewardesses"?

  • by AcquaCow (56720) <acquacow@hotmai l . c om> on Thursday November 20 2008, @07:29PM (#25840185) Homepage

    In the "Stupid QWERTY Tricks" section of his site, he lists all of the words that you can type on the left/right hand side of the keyboard...

    http://interglacial.com/~sburke/pub/stupid_qwerty_tricks.html [interglacial.com]

    He published all of that online in 1998...
    (1998-09-21)

    In comparison, the longest Dvorak word, typed with only the left hand is: "upkeep" ...not that that has anything to do with the efficiency of Dvorak...

    The other Dvorak word lists are far more interesting:
    http://interglacial.com/~sburke/pub/stupid_dvorak_tricks.html [interglacial.com]

      -- Dave

    • My thoughts exactly, I was wondering if I had somehow enabled the idle section by accident again.

      And anybody that learned about grep the first time reading this article should hand in their geek card ;)

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

        by MaxwellEdison (1368785) on Thursday November 20 2008, @05:55PM (#25839113)
        Technology is the new idle. The hope is we will make ourselves seem like a bunch of confused Luddites when we start tagging things technologyispants.

        With the added benefit of confusing Haggar's advertising exec's about to roll out their new campaign, "Pants is technology!" with an adorable Russian Blue cat for a spokesperson.
        • Re: (Score:3, Interesting)

          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.

          • I use a Dvorak layout, you insensitive clod!
            • Re:what? (Score:5, Interesting)

              by holizz (737615) on Friday November 21 2008, @07: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.

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

              by Bonobo_Unknown (925651) on Thursday November 20 2008, @10:19PM (#25841453)
              no way, QWERTY is all one side, cos like it's a word and all... the other side is
              • UIOP
              • HJKL
              • ZBNM

              Z is a non-contiguous zone with a higher than normal left keyboardyness.

    • by iamapizza (1312801) on Thursday November 20 2008, @05:56PM (#25839125)
      databases were devertebrated after stewardesses were watered
    • Re: (Score:3, Informative)

      What I don't understand is how the article is about using the left side of the keyboard yet the photo they have shows someone typing on the ride side.. (=_=)

      • Sorry... those tags are improper for this article as they require the use of both sides of the keyboard.

        • by CaptainPatent (1087643) on Thursday November 20 2008, @06:28PM (#25839573) Journal
          Actually the fact that so few words can be typed on the same hand is evidence towards the efficiency of Dvorak.

          alternating hand keystrokes are the fastest and least stress-inducing type of keystroke. The fact that so many words in Qwerty can be typed on the same (left) hand and so few can be in Dvorak shows that a larger subset of the Dvorak words alternate, whereas a smaller subset of the Qwerty words do.

          need more proof, just do a

          $grep -i '^[aoeuidhtns]\{12,\}$' /usr/share/dict/words

          then follow that up with a

          $grep -i '^[asdfghjkl]\{12,\}$' /usr/share/dict/words

        • Re: (Score:3, Interesting)

          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