summaryrefslogtreecommitdiff
path: root/static/v10/man1/wwb.1
blob: 709df821c334206d806b064c81f9f81fb2723777 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.TH WWB 1
.CT 1 writing_aids
.SH NAME
wwb, style, diction, punct \- writer's workbench
.SH SYNOPSIS
.B wwb style
[
.I option ...
]
.I file ...
.PP
.B wwb diction
[
.I option ...
]
.I file ...
.PP
.B wwb suggest
.PP
.B wwb punct
.I file ...
.PP
.B wwb wwb
[
.B -ms
]
[
.B -mm
]
.I file ...
.SH DESCRIPTION
.I Wwb
controls many subprograms documented in
the references.
For the full treatment use
.LR "wwb wwb" ,
but for quick use the following
subprograms are recommended.
.PP
.I Style
reports on readability, sentence length and
structure, word length and usage, verb type, and sentence openers
in the named documents.
Options peculiar to
.I style
are
.nr xx \w'\f5-p \fIpfile '
.TP \n(xxu
.B -a
Print all sentences with their length and readability index.
.TP
.B -e
Print all sentences that begin with an expletive.
.TP
.B -p
Print all sentences that contain a passive verb.
.TP
.BI -l " num
Print all sentences longer than
.IR num .
.TP
.BI -r " num
Print all sentences whose readability index is greater than
.IR num .
.TP
.B -P
Print parts of speech of the words in the document.
.PP
.I Diction
prints all sentences that contain phrases
from a list of bad or verbose word patterns.
Options peculiar to
.I diction
are
.TP \n(xxu
.BI -p " pfile
Use an additional private pattern file.
.TP
.B -n
Skip the standard pattern file.
.PP
.I Suggest
reads, from the standard input, phrases deprecated by
.I diction
and proposes alternatives.
.PP
.I Punct
reports sentences that appear to violate standard punctuation
rules or that contain doubled words.
.PP
.I Style,
.I diction,
and
.I wwb
expect documents prepared for
.IR troff (1)
with the
.IR ms (6)
macro package and the preprocessors
.I "pic, ideal, grap, eqn, refer,"
and
.IR tbl (1).
Two options override:
.TP \n(xxu
.B -mm
The document uses the
.B -mm
macro package.
.TP
.B -ml
The document uses the
.B -mm
macro package.
All
.IR mm -style
lists should be skipped (to avoid attempting to
parse nonsentences).
.SH FILES
.F /usr/bin/WWB/*
.br
.F /usr/lib/style/*
.SH "SEE ALSO"
Directories
.F /n/bowell/usr/src/man/manw
and
.F /usr/spool/man/manw
contain manual pages for further 
.I wwb
subcommands; to print them, execute
.LR "man proofr" .
.br
.I
Unix System V Writer's Workbench Software Release 2.0
.I Documentation Set,
AT&T Select Code 302-949
.br
.IR deroff (1), 
.IR spell (1)
.SH BUGS
Use of non-standard formatting macros causes
incorrect sentence breaks.
.br
Imperative sentences cannot be recognized.