Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ style(1) — SunOS 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

deroff(1)

diction(1)

STYLE(1)  —  User’s Manual — Commands

NAME

style  −  analyze surface characteristics of a document

SYNOPSIS

style [ −ml ] [ −mm ] [ −a ] [ −e ] [ −l num ] [ −r num ] [ −p ] [ −P ] file ...

DESCRIPTION

Style analyzes the surface characteristics of the writing style of a document.  Style reports on readability, sentence length and structure, word length and usage, verb type, and sentence openers.  Style runs deroff before looking at the text, so formatting header files should be included as part of the input. 

OPTIONS

−mlDeroff should skip lists.  Use this option if the document contains many lists of non-sentences. 

−mmUse the −mm macro package instead of the default −ms macro package. 

−aPrint all sentences with their length and readability index. 

−ePrint all sentences that begin with an expletive. 

−pPrint all sentences that contain a passive verb. 

−l num
Print all sentences longer than num words long. 

−r num
Print all sentences whose readability index is greater than num.

−PPrint parts of speech of the words in the document. 

EXAMPLE

The example shown below runs style on this manual page.  The output from style is condensed somewhat because it is incredibly verbose and occupies a lot of lines. 

sun% style  /usr/man/style.1
  /usr/man/style.1
readability grades:
(Kincaid)  8.5  (auto)  8.4  (Coleman-Liau) 10.8  (Flesch) 10.4 (58.0)
sentence info:
sentence statistics (such as sentence length)
sentence types:
sentence type statistics (such as simple versus complex)
word usage:
word usage statistics (such as verb usage)
sentence beginnings:
sentence beginning statistics (nouns, verbs, and such)
sun%

SEE ALSO

deroff(1), diction(1)

BUGS

Use of non-standard formatting macros may cause incorrect sentence breaks. 

Sun System Release 1.0  —  6 June 1983

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026