Manual Page Result
0
Command: doctype | Section: 1 | Source: UNIX v10 | File: doctype.1
DOCTYPE(1) General Commands Manual DOCTYPE(1)
NAME
doctype - guess command line for formatting a document
SYNOPSIS
doctype [ option ... ] [ file ]
DESCRIPTION
Doctype guesses and prints on the standard output the command line for
printing a document that uses troff(1), related preprocessors like
eqn(1), and the ms(6) and mm macro packages.
Option -n invokes nroff instead of troff. Other options are passed to
troff.
EXAMPLES
eval `doctype chapter.?` | apsend
Typeset files named chapter.0, chapter.1, ...
SEE ALSO
troff(1), eqn(1), tbl(1), refer(1), prefer(1), pic(1), ideal(1),
grap(1), ped(9.1), mcs(6), ms(6), man(6)
BUGS
It's pretty dumb about guessing the proper macro package.
DOCTYPE(1)