Documented in Volume 1 of the UNIX Programmers Manual.
% diction filename
edits the contents of filename for 'bad' grammar and lists phrases
with brackets around the 'bad' stuff and a summary of textual
analysis. The following short example shows what it thinks of the
first paragraph of the Preamble of the Constitution:
We, the people of the United States, *[ in order to ]* form a
more perfect Union, establish justice, insure domestic tranquility
, provide for the common defense, promote the general welfare
, and secure the blessings of liberty to ourselves and our posterity
, do ordain and establish this Constitution for the United States
of America.
number of sentences 1 number of phrases found 1
See also 'style' and 'explain'.
See /usr/doc/diction on 4.2 BSD systems for additional online documentation on this.