LinuxCommandLibrary

groffer

Browse and display GNU info files

SYNOPSIS

groffer [options] file...

PARAMETERS

-T
    Specify the output device type (e.g., ps, pdf, html, ascii).

-F
    Specify the font description file to use.

-Z
    Disable compression detection and assume the input is not compressed.

-l
    Pass the filename to the viewer.

-m
    Prepend macro file '.tmac' to the input files.

-w
    Only prints what groffer would do.

--help
    Display a help message and exit.

--version
    Display version information and exit.

DESCRIPTION

groffer is a versatile command-line tool used to display and browse groff files. It can display files in various formats (e.g., plain text, PostScript, PDF, HTML) by automatically determining the appropriate viewer. groffer is designed to be user-friendly, automatically managing the conversion process and selecting a suitable viewer. It handles compressed files transparently and allows for easy navigation and searching within the displayed document.

The command is primarily used to read man pages and documentation in a formatted and readable manner. groffer enhances the user experience by providing a consistent interface for viewing different document formats.

AUTOMATIC VIEWER SELECTION

groffer automatically selects a viewer based on the output type. It uses tools like xdg-open to launch the appropriate application. If you specify -T ps and you have ghostview it will automatically launch ghostview.

FILE HANDLING

groffer can handle various file types, including compressed files (gzip, bzip2, lzma). It automatically decompresses the files before processing them.

SEE ALSO

man(1), groff(1), less(1), ps2pdf(1), xdg-open(1)

Copied to clipboard