xref: /csrg-svn/usr.bin/diction/style/style.1 (revision 61971)
1*61971Sbostic.\" Copyright (c) 1990, 1993
2*61971Sbostic.\"	The Regents of the University of California.  All rights reserved.
319490Smckusick.\"
448515Scael.\" %sccs.include.redist.man%
548515Scael.\"
6*61971Sbostic.\"     @(#)style.1	8.1 (Berkeley) 06/06/93
748515Scael.\"
848515Scael.Dd
948515Scael.Dt STYLE 1
1048515Scael.Os BSD 4
1148515Scael.Sh NAME
1248515Scael.Nm style
1348515Scael.Nd analyze surface characteristics of a document
1448515Scael.Sh SYNOPSIS
1548515Scael.Nm style
1648515Scael.Op Fl ml
1748515Scael.Op Fl mm
1848515Scael.Op Fl a
1948515Scael.Op Fl e
2048515Scael.Op Fl l Ns Ar num
2148515Scael.Op Fl r Ns Ar num
2248515Scael.Op Fl p
2348515Scael.Op Fl P
2448515Scael.Ar file ...
2548515Scael.Sh DESCRIPTION
2648515Scael.Nm Style
2719490Smckusickanalyzes the surface characteristics of the writing style
2819490Smckusickof a document.
2919490SmckusickIt reports on readability, sentence length and
3019490Smckusickstructure, word length and usage, verb type, and sentence openers.
3119490SmckusickBecause
3248515Scael.Nm style
3319490Smckusickruns
3448515Scael.Xr deroff
3519490Smckusickbefore looking at the text, formatting
3619490Smckusickheader files should be included as part of the input.
3748515Scael.Pp
3848515ScaelOptions available:
3948515Scael.Bl -tag -width 8n
4048515Scael.It Fl a
4148515Scaelprint all sentences with their length and readability index.
4248515Scael.It Fl e
4348515Scaelprint all sentences that begin with an expletive.
4448515Scael.It Fl p
4548515Scaelprint all sentences that contain a passive verb.
4648515Scael.It Fl l Ar num
4748515Scaelprint all sentences longer than
4848515Scael.Ar num .
4948515Scael.It Fl ml
5019490SmckusickThe flag
5148515Scael.Fl ml ,
5219490Smckusickwhich causes
5348515Scael.Xr deroff
5419490Smckusickto skip lists, should be used if the document contains many lists of
5519490Smckusicknon-sentences.
5648515Scael.It Fl mm
5748515ScaelThe default macro package
5848515Scael.Fl ms
5948515Scaelmay be overridden with the flag
6048515Scael.Fl mm .
6148515Scael.It Fl r Ar num
6219490Smckusickprint all sentences whose readability index is greater than
6348515Scael.Ar num .
6448515Scael.It Fl P
6519490Smckusickprint parts of speech of the words in the document.
6648515Scael.Sh SEE ALSO
6748515Scael.Xr deroff 1 ,
6848515Scael.Xr diction 1
6948515Scael.Sh BUGS
7019490SmckusickUse of non-standard formatting macros may cause
7119490Smckusickincorrect sentence breaks.
7248515Scael.Sh HISTORY
7348515ScaelThe
7448515Scael.Nm
7548515Scaelcommand appeared in
7648515Scael.Bx 4 .
77