deroff
[options] [files]Remove all nroff/troff requests and macros, backslash escape sequences, and tbl and eqn constructs from the named files.
-i
Ignore .so
and .nx
requests. Solaris only.
-mm
Suppress text that appears on mm macro lines (i.e., paragraphs print but headings might be stripped).
-ml
Same as -mm
, but also deletes lists created by mm macros; e.g., .BL
/.LE
, .VL
/.LE
constructs. (Nested lists are handled poorly.)
-ms
Suppress text that appears on ms macro lines (i.e., paragraphs print but headings might be stripped). Solaris only.
-w
Output the text as a list, one word per line. See also the example under xargs.