Chapter 4. What's in a Word?

The most popular page on my web site ( is the WordFinder. It has programs for finding words that fit a pattern in a crossword grid (or on a Scrabble board). It can find anagrams, including anagrams of the word if another letter is added to it, or if one is removed from it. It can find words that begin with, end with, or contain any sequence of letters (see Figure 4-1).

These began life as C programs on my Commodore Amiga, almost 20 years ago. Combined with macros in a text editor, they constituted my system for composing crossword puzzles. Then, at a time when I couldn't afford to replace it, my hard drive crashed. I had everything backed up to floppy disks, and the Amiga could be run from ...

Get Shell Scripting Recipes: A Problem-Solution Approach now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.