OS Manuals

/usr/bin/troff

From groff-base 1.25.0-r0 (os), captured 2026-11-10 by running troff --help (exit 0). permalink

usage: /usr/bin/troff [-abcCEiRSUz] [-d ctext] [-d string=text] [-f font-family] [-F font-directory] [-I inclusion-directory] [-m macro-package] [-M macro-directory] [-n page-number] [-o page-list] [-r cnumeric-expression] [-r register=numeric-expression] [-T output-device] [-w warning-category] [-W warning-category] [file ...]
usage: /usr/bin/troff {-v | --version}
usage: /usr/bin/troff --help

GNU troff transforms groff(7) language input into the device-
independent page description language detailed in groff_out(5); it
is the heart of the GNU roff document formatting system.  Many
people prefer to use the groff(1) command, a front end that also
runs preprocessors and output drivers in the appropriate order and
with appropriate options.  See the troff(1) manual page.
Options (11)
OptionDescriptionSource
-h andman
-aGenerate a plain text approximation of the typeset output.man
-bWrite a backtrace reporting the state of troff's input parser to the standard error stream with each diagnostic message.man
-cDisable multi-color output and “color” request's ability to enable it.man
-CEnable AT&T troff compatibility mode;man
-EInhibit troff error messages;man
-iRead the standard input stream after all named input files have been processed.man
-RPrevent loading of troffrc and troffrc-end;man
-SEnable safer mode and ignore any subsequent -U option.man
-UOperate in unsafe mode, enabling the cf, open, opena, pi, pso, and sy requests, which are disabled by default because they allow an untrusted input document to run arbitrary commands, put arbitrary…man
-zSuppress formatted output.man
Exit status (3) from the manual page
0successful operation
2the program cannot interpret its command-line arguments
1it encounters a fatal error during operation

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.