• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Spellcheck a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spellcheck a list


  • Subject: Re: Spellcheck a list
  • From: Jan Steinman <email@hidden>
  • Date: Mon, 4 Oct 2004 06:06:51 -0700

From: Graff <email@hidden>

you can use the "grep" command:
...
		do shell script "grep " & quotedWord & "  /usr/share/dict/words"

With a bit of regular expressions thrown in you could have a decently
powerful spell checker.

If you aren't going to use regular expressions, then fgrep(1) is much faster than grep, although the difference is hardly noticeable unless you're really crunching a huge file. ("f" as is "fixed strings" as opposed to regular expressions.)


:::: We are like tenant farmers chopping down the fence around our house for fuel when we should be using nature's inexhaustible sources of energy - sun, wind and tide. I'd put my money on the sun and solar energy. What a source of power! I hope we don't have to wait until oil and coal run out before we tackle that.
-- Thomas Alva Edison (1847-1931)
:::: Jan Steinman <mailto:email@hidden/Image/80BF02>


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Spellcheck a list
      • From: Graff <email@hidden>
  • Prev by Date: Re: Spellcheck a list
  • Next by Date: [ANN] PreFab UI Actions 1.0
  • Previous by thread: Re: Spellcheck a list
  • Next by thread: Re: Spellcheck a list
  • Index(es):
    • Date
    • Thread