in reply to Re^2: Removing all non 8 letter words from the dict/words file
in thread Removing all non 8 letter words from the dict/words file

the only problem with that is that the lines that I want to include have only 1 thing different than the words I want:
They are all lower case
...so I didn't think you could use lower case to sort the words.
But by all means feel free to prove me wrong.
Creating chaos out of order.
  • Comment on Re^3: Removing all non 8 letter words from the dict/words file

Replies are listed 'Best First'.
Re^4: Removing all non 8 letter words from the dict/words file
by QM (Parson) on Apr 10, 2006 at 00:17 UTC
    Only lower case:
    while (<>) { print if /^[a-z]+$/; }

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

Re^4: Removing all non 8 letter words from the dict/words file
by unobe (Scribe) on Apr 10, 2006 at 00:24 UTC
    I really don't understand what you mean by:
    the only problem with that is that the lines that I want to include have only 1 thing different than the words I want
    Could you please rephrase it? Also, you should really do what QM suggests, and read perlre, or even perlretut. They really do help, and it doesn't look like you have read either yet.
      Sorry what I ment to say way "the only difference between the words I want and the ones I don't want."
      I'm a little sick and my brain isn't working very well at the moment.
      Creating chaos out of order.