style(1)
Name
style − analyze surface characteristics of a document
Syntax
style [−ml] [−mm] [−a] [−e] [−l num] [−r num] [−p] [−P] file...
Description
The style command analyzes the surface characteristics of the writing style of a document. It reports on readability, sentence length and structure, word length and usage, verb type, and sentence openers. Because style runs deroff before looking at the text, formatting header files should be included as part of the input. The default macro package −ms may be overridden with the flag −mm. The flag −ml, which causes deroff to skip lists, should be used if the document contains many lists of non-sentences. The other options are used to locate sentences with certain characteristics.
Options
−aDisplays all sentences with their length and readability index.
−eDisplays all sentences that begin with an expletive.
−l num
Displays all sentences longer than num.
−ml
Skips lists in document.
−mm
Overrides the default macro package −ms.
−PDisplays parts of speech of the words in the document.
−pDisplays all sentences that contain a passive verb.
−r num
Displays all sentences whose readability index is greater than num.
Restrictions
Use of non-standard formatting macros may cause incorrect sentence breaks.