BSD 4_2 development
[unix-history] / usr / man / man1 / style.1
CommitLineData
d8649de5
C
1.TH STYLE 1 "18 January 1983"
2.SH NAME
3style \- analyze surface characteristics of a document
4.SH SYNOPSIS
5.B style
6[
7.B \-ml
8] [
9.B \-mm
10] [
11.B \-a
12] [
13.B \-e
14] [
15.B \-l
16num ] [
17.B \-r
18num ] [
19.B \-p
20] [
21.B \-P
22]
23file ...
24.LP
25.SH DESCRIPTION
26.I Style
27analyzes the surface characteristics of the writing style
28of a document.
29It reports on readability, sentence length and
30structure, word length and usage, verb type, and sentence openers.
31Because
32.I style
33runs
34.I deroff
35before looking at the text, formatting
36header files should be included as part of the input.
37The default macro package
38.B \-ms
39may be overridden with the flag
40.B \-mm.
41The flag
42.BR \-ml ,
43which causes
44.B deroff
45to skip lists, should be used if the document contains many lists of
46non-sentences.
47The other options are used to locate sentences with certain characteristics.
48.TP
49.B \-a
50print all sentences with their length and readability index.
51.TP
52.B \-e
53print all sentences that begin with an expletive.
54.TP
55.B \-p
56print all sentences that contain a passive verb.
57.TP
58.BI \-l num
59print all sentences longer than
60.IR num .
61.TP
62.BI \-r num
63print all sentences whose readability index is greater than
64.IR num .
65.TP
66.B \-P
67print parts of speech of the words in the document.
68.SH "SEE ALSO"
69deroff(1), diction(1)
70.SH BUGS
71Use of non-standard formatting macros may cause
72incorrect sentence breaks.