Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

spell(1) [minix man page]

SPELL(1)						      General Commands Manual							  SPELL(1)

NAME
spell - print all words in a file not present in the dictionary SYNOPSIS
spell file EXAMPLES
spell document # Print the spelling errors on stdout DESCRIPTION
Spell is the MINIX spelling checker. It is actually a short shell script. First, the program prep strips off the roff, nroff, and troff control lines, and the punctuation, and lists each word on a separate line. These words are then sorted. The resulting output is then compared to the dictionary. Words present in the file but not present in the dictionary are listed. The dictionary must be located in /usr/lib/dict/words. SEE ALSO
nroff(1), prep(1). SPELL(1)

Check Out this Related Man Page

SPELL(1)						      General Commands Manual							  SPELL(1)

NAME
spell, spellin, spellout - find spelling errors SYNOPSIS
spell [ option ] ... [ file ] ... /usr/src/cmd/spell/spellin [ list ] /usr/src/cmd/spell/spellout [ -d ] list DESCRIPTION
Spell collects words from the named documents, and looks them up in a spelling list. Words that neither occur among nor are derivable (by applying certain inflections, prefixes or suffixes) from words in the spelling list are printed on the standard output. If no files are named, words are collected from the standard input. Spell ignores most troff, tbl and eqn(1) constructions. Under the -v option, all words not literally in the spelling list are printed, and plausible derivations from spelling list words are indi- cated. Under the -b option, British spelling is checked. Besides preferring centre, colour, speciality, travelled, etc., this option insists upon -ise in words like standardise, Fowler and the OED to the contrary notwithstanding. Under the -x option, every plausible stem is printed with `=' for each word. The spelling list is based on many sources, and while more haphazard than an ordinary dictionary, is also more effective in respect to proper names and popular technical words. Coverage of the specialized vocabularies of biology, medicine and chemistry is light. Pertinent auxiliary files may be specified by name arguments, indicated below with their default settings. Copies of all output are accu- mulated in the history file. The stop list filters out misspellings (e.g. thier=thy-y+ier) that would otherwise pass. Two routines help maintain the hash lists used by spell. Both expect a list of words, one per line, from the standard input. Spellin adds the words on the standard input to the preexisting list and places a new list on the standard output. If no list is specified, the new list is created from scratch. Spellout looks up each word in the standard input and prints on the standard output those that are missing from (or present on, with option -d) the hash list. FILES
D=/usr/dict/hlist[ab]: hashed spelling lists, American & British S=/usr/dict/hstop: hashed stop list H=/usr/dict/spellhist: history file /usr/lib/spell deroff(1), sort(1), tee(1), sed(1) BUGS
The spelling list's coverage is uneven; new installations will probably wish to monitor the output for several months to gather local addi- tions. British spelling was done by an American. SPELL(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

spelling check program

hi, all well, it's about spelling check, give a list of words as command line parameters and determine if they are in the dictionary. > myDictionary hello helloi hello is in the dictionary helloi is not. if spell command is not allowed to use. could i use grep -c in this way? if the count... (2 Replies)
Discussion started by: hyo77
2 Replies

2. Shell Programming and Scripting

spell checker program

2.I need shell script to list all the 'words' in a given file (text) that are not listed in a specified dictionary. Let us call this utility 'spell-check'. 'spell-check' will be called as follows. $ spell-check letter Lucent UNIX UNIX OS a $ dictionary words are listed in lower... (2 Replies)
Discussion started by: ksjanakan
2 Replies

3. Post Here to Contact Site Administrators and Moderators

Spell Check

Administrator/Moderators, I would like to put forth a request rather a suggestion in other words. How about the inclusion of 'SPELL CHECK' tool along with existing submit reply and preview post tools? I believe that would be very much helpful in understanding questions clearly deprived of... (2 Replies)
Discussion started by: matrixmadhan
2 Replies

4. UNIX for Advanced & Expert Users

redirecting the output of aspell

Hi, I have 2 identical servers both running aspell but for some reason I can't redirect the output to a file on one of them. This is what I'm trying to do: echo feck | aspell -l > errors.txt On one machine this works fine but the other it doesn't (the file is created but it is empty). ... (6 Replies)
Discussion started by: leekb
6 Replies

5. UNIX for Advanced & Expert Users

spell

Hi, I found the following line in a shell script. $spell -a < $filename | \ grep -v '@(#)' | sed "s/\'//g" | \ awk '{ if (length($0) > 15 && length($2) > 2) print $2 }' | \ grep -vif $okaywords | \ grep ']' | grep -v ']' | sort -u | \ sed 's/^/ /' > $tempout can... (2 Replies)
Discussion started by: ravi raj kumar
2 Replies

6. Shell Programming and Scripting

Shell Sript - Spell Checker Assign

Hi Folks. I am currently working on a script that has to spell check a file and print the output to the screen in 2 columns like this. INCORRECT CORRECTION whio who weahter weather The file will allow the user to override the ispell command and save any... (9 Replies)
Discussion started by: ccfc1986
9 Replies

7. Shell Programming and Scripting

quick ispell help

Hi, I am trying to write a script that calls ispell (my linux version doesn't have aspell) on a file and runs from there. Pretty much looks like this at the beginning: #!/bin/bash # script that will spell check a file read -p "Enter a file name: " fileName ispell fileName I just... (3 Replies)
Discussion started by: negzero7
3 Replies

8. UNIX for Dummies Questions & Answers

spell check

# cat wrong.txt thiis is going to be wrong words containing file # aspell list < wrong.txt thiis I want to check only one word and see the first suggestions ("this" in this case). something like... aspell list --one-word thiis --suggest (5 Replies)
Discussion started by: shantanuo
5 Replies

9. SuSE

automate ispell

Hello!! Is posible to automate ispell?? I have a lot of misspelled text and I want to launch a script that runs ispell choosing for example the first option, all that automatically. Is possible?? Thanks :) (4 Replies)
Discussion started by: elblo
4 Replies

10. Homework & Coursework Questions

Help With spell checking

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: What the program is suppose to do is input a word and when the user press enter the result should read the word... (6 Replies)
Discussion started by: mgyeah
6 Replies

11. Shell Programming and Scripting

Ispell Script Run Errors

I am going to get straight to the point. I am writing a script that acts as a simple spell checker using ispell. This script makes a list of mispelled words and prompts the user if he or she would like to correct the word or type in there corrections. When I run the script it does not read the list... (5 Replies)
Discussion started by: Boltftw
5 Replies

12. Shell Programming and Scripting

Using diff for spellchecking

Hi, I am attempting to use diff for the purpose of spell checking. Here is what I have thus far. I am using the Bourne shell (sh). diff -i list.txt '/usr/share/dict/words'I am comparing my list of words (list.txt) with another list (a dictionary). Here is what is contained in list.txt:... (3 Replies)
Discussion started by: jlam9012
3 Replies

13. UNIX for Dummies Questions & Answers

Check spelling between two files

Hello, so I was wanting to find a way to check the spelling between two files to see if the terms in both were spelled correctly. However, this won't be for normal words, but for special terms, like "1732_1", to see if it is spelled the same way in one file as in the other, instead of "1732_1" in... (2 Replies)
Discussion started by: Scatterbrain26
2 Replies

14. Homework & Coursework Questions

Writing a script for aspell

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: The scirpt I have is meant to check the strings read in from a file with the aspell subroutine in the UNIX bash... (3 Replies)
Discussion started by: gamernerd101
3 Replies

15. Debian

Getting a better spell checker

Guys I am new to Linux in general and want to know what is the use of the following files-: /usr/share/dict/words /usr/share/dict/words.pre-dictionaries-common Are they used by the spell checker to find potential typos ? If so are there any better larger word lists out there ? I am sure... (2 Replies)
Discussion started by: sreyan32
2 Replies