[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2


diction Command

Purpose

Highlights unclear or wordy sentences.

Syntax

diction [ -ml ] [ -mm ] [ -f PatternFile ] [ -n ] File ...

Description

The diction command finds all sentences in an English-language document that contain phrases from a database of unclear or wordy diction. Each phrase is bracketed with [ ] (brackets). Because the diction command runs the deroff command before looking at the text, header files that contain appropriate formatting information should be included as part of the input. The explain command provides an interactive thesaurus for the phrases found by the diction command.

Use of nonstandard formatting macros may cause incorrect sentence breaks. In particular, the diction command does not understand the -me flag.

Flags


-f PatternFile Specifies a file containing examples of unclear diction; this file is used in addition to the default file.
-ml Causes the deroff command to skip mm macro lists; can be used if a document contains many lists of nonsentences.
-mm Overrides the default ms macro package.
-n Suppresses the use of the default file when used with the -f flag; only the file specified by the PatternFile parameter is used.

Files


/usr/lib/dict.d Contains default pattern.

Related Information

The deroff command, explain command.

The ms macro package.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]