groff
GNU replacement for the
troffandnrofftypesetting utilities. More information: https://www.gnu.org/software/groff/manual/groff.html.node/Groff-Options.html.
- Format output for a PostScript printer, saving the output to a file:
groff >
- Render a man page using the ASCII output device, and display it using a pager:
groff -man -T ascii | less --RAW-CONTROL-CHARS
- Render a man page into an HTML file:
groff -man -T html >
- Typeset a roff file containing [t]ables and [p]ictures, using the [me] macro set, to PDF, saving the output:
groff - -T >
- Run a
groffcommand with preprocessor and macro options guessed by thegrogutility:
eval "$(grog -T utf8 )"
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
