LinuxCommandLibrary

nroff

formats text for terminal display

TLDR

Format document

$ nroff [file.roff]
copy
Format for terminal
$ nroff -Tascii [file]
copy
Format man page
$ nroff -man [page.1]
copy
Format with macros
$ nroff -ms [file.ms]
copy
Preview output
$ nroff [file] | less
copy

SYNOPSIS

nroff [options] [files]

DESCRIPTION

nroff formats text for terminal display. Part of troff/groff system.
The tool processes roff documents. Outputs plain text formatting.

PARAMETERS

FILES

Input files.
-T DEV
Output device.
-man
Use man macros.
-ms
Use ms macros.
-me
Use me macros.
--help
Display help information.

CAVEATS

Part of groff. Terminal output. Use groff for typeset output.

HISTORY

nroff originated in Unix V7 for formatting text on line printers and terminals.

SEE ALSO

groff(1), troff(1), man(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community