LinuxCommandLibrary

groffer

TLDR

View man page

$ groffer [man-page]
copy
View file in X window
$ groffer --x [file.roff]
copy
View as PDF
$ groffer --pdf [file.roff]
copy
View as text in terminal
$ groffer --tty [file.roff]
copy
Specify viewer
$ groffer --viewer [evince] [file.roff]
copy

SYNOPSIS

groffer [options] [files]

DESCRIPTION

groffer is a wrapper for groff that automatically selects the best display method. It can handle man pages, roff files, and various input formats.
The tool detects the environment and chooses between X viewers, PDF viewers, or terminal display. It simplifies the groff workflow significantly.
groffer provides convenient groff document viewing.

PARAMETERS

FILES

Files or man pages to display.
--pdf
Output as PDF.
--ps
Output as PostScript.
--tty
Output to terminal.
--x
Display in X window.
--viewer PROG
Specify viewer program.
--mode MODE
Display mode.
--help
Display help information.

CAVEATS

Part of groff package. Viewer selection depends on installed applications. Some modes require X display.

HISTORY

groffer was developed as part of GNU groff to provide a user-friendly interface for viewing groff documents.

SEE ALSO

groff(1), man(1), xpdf(1)

Copied to clipboard