home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: sort Chapter 2
UNIX Commands
Next: Reference: split
 

spell



spell

 [

options

] [

files

]

Compare the words of one or more named files with the system dictionary and report all misspelled words. System files for spell reside in /usr/lib/spell .

Options

-b

Check for British spelling.

-i

Ignore files included with the nroff or troff .so request (SVR3 only).

-l

Follow all included files (files named in .so or .nx requests); default is to ignore files that begin with /usr/lib .

-v

Include words that are derived from dictionary list but are not literal entries.

-x

Show every possible word stem (on standard error).

+ wordlist

Use the sorted wordlist file as a local dictionary to add to the system dictionary; words in wordlist are not treated as misspelled.

Example

Run the first pass of spell :



spell file1 file2 > jargon

After editing the jargon file, use it as a list of special terms. The second pass of spell produces genuine misspellings:



spell +jargon file[12] > typos


Previous: Reference: sort UNIX in a Nutshell: System V Edition Next: Reference: split
Reference: sort Book Index Reference: split

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru