Команда nroff

Formats documents for display or line-printer.

Синтаксис

nroff [-e] [-h] [-i] [-q] [-mname] [-nN] [-opagelist] [-raN] [-sN] [-Tname]

-eProduce equally-spaced words in adjusted lines, using full terminal resolution.
-hUse output TAB characters during horizontal spacing to speed output and reduce output character count. TAB settings are assumed to be every 8 nominal character widths.
-iRead the standard input after the input files are exhausted.
-qInvoke the simultaneous input-output mode of the rd request.
-mnamePrepend the macro file /usr/share/lib/tmac/tmac.name to the input files.
-nNNumber first generated page N.
-opagelistPrint only pages whose page numbers appear in the comma-separated list of numbers and ranges. A range N-M means pages N through M; an initial -N means from the beginning to page N; and a final N- means from N to the end.
-raNSet register a (one-character) to N.
-sNStop every N pages. nroff will halt prior to every N pages (default N=1) to allow paper loading or changing, and will resume upon receipt of a NEWLINE.
-TnamePrepare output for a device of the specified name. Known names are:

 

37Teletype Corporation Model 37 terminal this is the default.
lp | tn300GE - any line printer or terminal without half-line capability.
300DASI-300.
3300-1212 DASI-300 - 12-pitch.
300SDASI-300S.
300S-12DASI-300S.
382DASI-382 (fancy DTC 382).
450DASI-450 (Diablo Hyterm).
450-12DASI-450 (Diablo Hyterm) - 12-pitch.
832AJ 832

Примеры

nroff -s4 -me users.guide - Formats the user.guide using the  -me macro package

Обратно к списку команд