unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.4BSD-Lite2)
Page:
Section:
Apropos / Subsearch:
optional field

STYLE(1)                     BSD Reference Manual                     STYLE(1)

NAME
     style - analyze surface characteristics of a document

SYNOPSIS
     style [-ml] [-mm] [-a] [-e] [-lnum] [-rnum] [-p] [-P] file ...

DESCRIPTION
     Style analyzes the surface characteristics of the writing style of a doc-
     ument.  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 in-
     cluded as part of the input.

     Options available:

     -a        print all sentences with their length and readability index.

     -e        print all sentences that begin with an expletive.

     -p        print all sentences that contain a passive verb.

     -l num    print all sentences longer than num.

     -ml       The flag -ml, which causes deroff to skip lists, should be used
               if the document contains many lists of non-sentences.

     -mm       The default macro package -ms may be overridden with the flag
               -mm.

     -r num    print all sentences whose readability index is greater than
               num.

     -P        print parts of speech of the words in the document.

SEE ALSO
     deroff(1),  diction(1)

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

HISTORY
     The style command appeared in 4BSD.

4th Berkeley Distribution        June 6, 1993                                1