Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fserr — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

4.0;fserr (find_spelling_errors), revision 4.0, 86/11/06
FSERR (FIND_SPELLING_ERRORS) -- Find spelling errors.
usage:  FSERR [pathname...] [-F] [-N] [-U] [-S] [-C pathname ] [-D pathname]


FORMAT

  FSERR [pathname ...] [options]


  FSERR copies the named files line-by-line to standard output, while looking up
  each word in a dictionary.  If it finds any spelling errors on a line,  or  if
  it  finds words that are not in the spelling dictionary, FSERR prints the line
  containing the questionable word and asks whether or not the word  is  spelled
  correctly.   If you indicate that the word is misspelled, you are prompted for
  the correct spelling.  FSERR corrects the  spelling  on  standard  output  and
  continues.

  FSERR  uses  three  ASCII  files.    The  large  standard  dictionary  file is
  /SYS/DICT, which contains the bulk of the words known to FSERR.  Add words  to
  this  file  if you want them to become permanent additions to your dictionary,
  making sure entries remain in alphabetical order.  (Use  the  SRF  (SORT_FILE)
  command  to  alphabetize  the file if necessary.)  If you do not wish to alter
  the standard dictionary, you may direct FSERR to use a  file  containing  your
  own  special  words  by  specifying  the  -D  option  each time you invoke the
  command.

  /SYS/DICTDX serves as an  index  into  the  large  dictionary  file  to  speed
  searches.    Do not edit this file manually. If you make changes to /SYS/DICT,
  delete the index file; FSERR generates a  new  one  if  /SYS/DICTDX  does  not
  exist. Note that it takes some time to generate this index, so be prepared for
  a delay the first time you use FSERR after altering the dictionary.

  Finally, a relatively few "common words" that occur with great  frequency  are
  stored  in /SYS/CDICT. These are read and put into an internal hash table each
  time FSERR starts up, making access to them faster than looking in  the  large
  dictionary file.  This list of words is not alphabetized; rather, words appear
  in order of relative frequency, with the most common words at the top  of  the
  file.   You may make changes to this file if necessary. Just be careful not to
  make the file too big, since that would defeat the  purpose  of  a  high-speed
  lookup mechanism for common words.


ARGUMENTS

  pathname
  (optional)          Specify  file  containing  text  to  be checked.  Multiple
                     pathnames are permitted separated by blanks.

                     Default if omitted:  read standard input


OPTIONS

  -F                 Process words just after a period ('.') in column 1  (i.e.,
                     FMT directives).  The default is to ignore such "words".

  -N                 Process digits.  The default is to ignore digits.

  -U                   Underline  misspelled  words  instead  of  prompting  for
                     correction or verification.

  -S                 Collect and print statistics on dictionary use.

  -C pathname        Write words  that  are  not  in  the  dictionary,  but  are
                     correctly spelled, into 'pathname'.

  -D pathname        Add the words in the file 'pathname' to the dictionary used
                     for this run. Words in the file must appear one per line.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026