Skip to Content
UNIX° TEXT PROCESSING
book

UNIX° TEXT PROCESSING

by Dale Dougherty, Tim O'Reilly
May 1987
Intermediate to advanced
680 pages
17h 3m
English
O'Reilly Media, Inc.
Content preview from UNIX° TEXT PROCESSING

images

Formatter Command Summary

This appendix is divided into ten subsections, each covering a different facet of the nroff/troff formatting system. These sections are:

  • nrof/troff command-line syntax
  • nroff/troff requests
  • escape sequences
  • predefined number registers
  • special characters
  • the ms macro package
  • the mm macro package
  • the tbl preprocessor
  • the eqn preprocessor
  • the pic preprocessor

In the following sections, italics are used for values that you supply. Optional arguments to requests or macros are enclosed in brackets.

▪   nroff/troff Command-Line Syntax   ▪

nroff [options] [files]

-c name Prepend /usr/lib/macros/cmp.n. [dt] .name to files (old versions of nroff only).
-e Space words equally on the line instead of in full multiples of the space character.
-h Use tabs in large spaces.
-i Read standard input after files are processed.
-k name Compact macros and output to [dt].name (old versions of nroff only).
-m name Prepend /usr/lib/tmac/tmac .name to files.
-n n Number first page n.
-o list Print only pages contained in list. Individual pages in list should be separated by commas; a page range is specified by nm; n–indicates from page n to the end.
-q Invoke simultaneous input/output of .rd requests.
-r an Set register a to n.
-s n Stop every n pages.
-T name Output is for device type name. Values are shown in Table B-l. (Check your manual for other ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz
How to Become a Game-Changing Leader

How to Become a Game-Changing Leader

Douglas A. Ready, Alan Mulally
Journey from Natural Numbers to Complex Numbers

Journey from Natural Numbers to Complex Numbers

Nita H. Shah, Vishnuprasad D. Thakkar

Publisher Resources

ISBN: 9780810462915