Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (OSF1-V5.1-alpha)
Apropos / Subsearch:
optional field

deroff(1)							    deroff(1)


  deroff - Deletes neqn, nroff,	and tbl	constructs


  deroff [-i  |	-l] [-kpuw] [-ma  | -me	 | -mm	| -ms] file...

  deroff [-i  |	-l] [-kpuw] -mm	 -ml  file...

  The deroff command reads the specified files (or standard input by
  default), removes all	nroff requests,	macro calls, backslash constructs,
  eqn constructs (between .EQ and .EN lines and	between	delimiters), and tbl
  descriptions,	replacing many of them with spaces or blank lines, and writes
  the remainder	of the file to standard	output.


  -i  Suppresses processing of included	files (.so and .nx).

  -k  Keeps blocks of text specified by	requests or macros; for	example, the
      .ne request.

  -l  Suppresses processing of included	files whose names begin	with /usr/lib
      (such as macro files in /usr/lib/tmac).

  -ma Interprets man macros only.

  -me Interprets me macros only.

  -ml Ignores mm macros	and deletes mm list structures.	The -mm	option must
      be specified with	this option.

  -mm Interprets ms and	mm macros only.

  -ms Interprets ms macros only.

  -p  Performs special paragraph processing.

  -u  Removes _\b and \b in underlined and boldfaced words. Automatically
      sets the -w option.

  -w  Formats output into a word list, containing one word per line, with all
      other characters deleted.

  In text, a word is any string	that contains at least two letters and is
  composed of letters, digits, ampersands (&&), and apostrophes (').  In	a
  macro	call, a	word is	a string that begins with at least two letters and
  contains a total of at least three letters.  Delimiters are any characters
  other	than letters, digits, ampersands, and apostrophes.

  Trailing ampersands and apostrophes are removed from words.


  The deroff command normally follows chains of	included files (.so and	.nx
  nroff	requests) and processes	those files.  If a file	was already included,
  a .so	naming it is ignored and a .nx naming it ends execution.


  The deroff command is	not a complete nroff interpreter, so it	may not	han-
  dle complex constructs well.	Most errors result in too much rather than
  too little output.


  neqn(1), nroff(1), tbl(1)