Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


The "spell" Utility

July 19, 1998

Another excellent utility is the "spell" utility that allows a reasonable degree of spell checking. The utility uses the dictionary provided by UNIX but may also consider your own personal dictionary file for personalized spell checking. Consider the following example in which "writing" is spelled as "qriting" on the first line of the letter body:

[spell Example]

As you would expect, the "spell" utility comes with several useful options. The more common ones are listed below.

Option Explanation
-b Uses British spellings
-v Shows words not literally in the dictionary as well as a list of possible correct spellings
-x Displays possible word stems for each word checked
+user_dictionary_file Defines the location of a user dictionary file to supplement the UNIX dictionary

The most important option of course is the user defined dictionary file. Most likely, you will want to create your own dictionary with your own word list. This file should simply contain a list of words (one word per line). If spell does not find the word in the UNIX dictionary, it will look at your dictionary file as well. Thus, in the next example, you see that though the UNIX dictionary does not recognize certain HTML commands, "spell" accepts them because they are defined in my own dictionary.

[spell and dictionary Example]

The "uniq" Utility
Introduction to UNIX for Web Developers | Table of Contents
The "wc" Utility


Up to => Home / Internet / UNIX / Intro




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers