summaryrefslogtreecommitdiff
path: root/sys/man/1/doctype
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 16:49:47 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 16:49:47 +0300
commitb41b9034225ab3e49980d9de55c141011b6383b0 (patch)
tree891014b4c2e803e01ac7a1fd2b60819fbc5a6e73 /sys/man/1/doctype
parentc558a99e0be506a9abdf677f0ca4490644e05fc1 (diff)
Import sources from 2011-03-30 iso image - sys/man
Diffstat (limited to 'sys/man/1/doctype')
-rwxr-xr-xsys/man/1/doctype63
1 files changed, 63 insertions, 0 deletions
diff --git a/sys/man/1/doctype b/sys/man/1/doctype
new file mode 100755
index 000000000..7811f8e92
--- /dev/null
+++ b/sys/man/1/doctype
@@ -0,0 +1,63 @@
+.TH DOCTYPE 1
+.SH NAME
+doctype \- intuit command line for formatting a document
+.SH SYNOPSIS
+.B doctype
+[
+.B -n
+]
+[
+.B -T
+.I dev
+]
+[
+.I file
+]
+\&...
+.SH DESCRIPTION
+.I Doctype
+examines a
+.IR troff (1)
+input file to deduce the appropriate text formatting command
+and prints it on standard output.
+.I Doctype
+recognizes input for
+.IR troff (1),
+related preprocessors like
+.IR eqn (1),
+and the
+.IR ms (6)
+and
+.I mm
+macro packages.
+.PP
+Option
+.B -n
+invokes
+.I nroff
+instead of
+.IR troff .
+The
+.B -T
+option is passed to
+.IR troff .
+.SH EXAMPLES
+.TP
+.L
+eval `{doctype chapter.?} | lp
+Typeset files named
+.BR chapter.0 ,
+.BR chapter.1 ,
+\&...
+.SH SOURCE
+.B /rc/bin/doctype
+.SH SEE ALSO
+.IR troff (1),
+.IR eqn (1),
+.IR tbl (1),
+.IR pic (1),
+.IR grap (1),
+.IR ms (6),
+.IR man (6)
+.SH BUGS
+In true A.I. style, its best guesses are inspired rather than accurate.