Creates a subject-page index for a document.
ndx [ SubjectFile ] " FormatterCommandLine "
The ndx command, given a list of subjects (SubjectFile), searches a specified English-language document and writes a subject-page index to standard output.
The document must include formatting directives for the mm, mmt, nroff, or troff commands. The formatter command line informs the ndx command whether the troff command, nroff command, mm command, or mmt command can be used to produce the final version of the document. These commands do the following:
Item | Description |
---|---|
troff or mmt | Specifies the troff command as the formatting program. |
nroff or mm | Specifies the nroff command as the formatting program. |
Item | Description |
---|---|
SubjectFile | Specifies the list of subjects that are included in the index.
Each subject must begin on a new line and have the following format:
word1[word2...][,wordk...] For example:
The subject must start in column one. |
FormatterCommandLine | Creates the final form of the document. The syntax for this
parameter is as follows: Formatter [Flag...] File...
For more information on the formatter command line, see the mmt command, nroff command, and html |