spellout Command
Purpose
Verifies that a word is not in the spelling list.
Syntax
spellout [ -d ] List
Description
The spellout command looks up each word from standard input and prints on standard output those that are missing from the hashed list file specified by the List parameter. The hashed list file is similar to the dictionary file used by the spell command.
Flags
Item | Description |
---|---|
-d | Prints those words that are present in the hashed list file. |
Examples
To verify that the word hookey is not on the default spelling list, enter:
echo hookey | spellout /usr/share/dict/hlista
In this example, the spellout command prints the word hookey on standard output if it is not in the hashed list file. With the -d flag, spellout prints the word hookey if it is found in the hash file.