LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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.

INSTALL

sudo apt install groff-base
copy
sudo dnf install groff-base
copy
sudo pacman -S groff
copy
sudo apk add groff
copy
sudo zypper install groff
copy
brew install groff
copy
nix profile install nixpkgs#groff
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid