Delila Program: thethepc

thethepc program

Documentation for the thethepc program is below, with links to related programs in the "see also" section.

{version = 2.01; (* of thethepc.p 1996 July 25}

(* begin module describe.thethepc *)
(*
name
   thethepc: find duplicate words in a file

synopsis
   thethepc(input: in, output: out)

files
   input:  text of a paper in which one might have put a
      a word in duplicate, as these two lines demonstrate!
   output: messages to the user, the program name and version number,
      followed by a list of the duplicate words (if any).

description
   The program searches through the input stream for duplicate tokens and shows
   them on the output.  A token is separtated from other tokens by spaces or
   carriage returns.  The purpose of the program is to find duplicate words
   in a paper.  For this reason, the program's normal mode is to ignore
   words with special characters (anything other than a-zA-Z).  This can be
   altered by changing constants (see technical notes below).

examples
   This line contains a duplicate word word that should be picked up.

author
   Thomas D. Schneider
   National Cancer Institute
   Laboratory of Mathematical Biology
   Frederick, Maryland 21701
   toms@ncifcrf.gov

bugs
   Does not handle arbitrarily long lines.

technical notes
   There are two boolean constants that may be set to adjust how the program
   works:  onlycharacters and caseindependent.  See the comments on their
   definitions The maximum buffer length is given by constant maxstring.

   Note: the name of this program is thethepc because there is a (better) c
   version, and I don't want to get them mixed up.

*)
(* end module describe.thethepc *)
{This manual page was created by makman 1.44}
{created by htmlink 1.55}
National Cancer Institute    National Institutes of Health    Health and Human Services    USA Gov - Official Web Portal    Viewing Files    Accessibility