EnglishFrenchSpanish

OnWorks favicon

diction - Online in the Cloud

Run diction in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command diction that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


diction - print wordy and commonly misused phrases in sentences

SYNOPSIS


diction [-b] [-d] [-f file [-n|-L language]] [file...]
diction [--beginner] [--ignore-double-words] [--file file [--no-default-file|--language
language]] [file...]
diction -h|--help
diction --version

DESCRIPTION


Diction finds all sentences in a document that contain phrases from a database of
frequently misused, bad or wordy diction. It further checks for double words. If no
files are given, the document is read from standard input. Each found phrase is enclosed
in [ ] (brackets). Suggestions and advice, if any and if asked for, are printed headed by
a right arrow ->. A sentence is a sequence of words, that starts with a capitalised word
and ends with a full stop, double colon, question mark or exclaimation mark. A single
letter followed by a dot is considered an abbreviation, so it does not terminate a
sentence. Various multi-letter abbreviations are recognized, they do not terminate a
sentence as well, neither do fractional numbers.

Diction understands cpp(1) #line lines for being able to give precise locations when
printing sentences.

OPTIONS


-b, --beginner
Complain about mistakes typically made by beginners.

-d, --ignore-double-words
Ignore double words and do not complain about them.

-s, --suggest
Suggest better wording, if any.

-f file, --file file
Read the user specified database from the specified file in addition to the default
database.

-n, --no-default-file
Do not read the default database, so only the user-specified database is used.

-L language, --language language
Set the phrase file language (de, en, nl).

-h, --help
Print a short usage message.

--version
Print the version.

ERRORS


On usage errors, 1 is returned. Termination caused by lack of memory is signalled by exit
code 2.

EXAMPLE


The following example first removes all roff constructs and headers from a document and
feeds the result to diction with a German database:

deroff -s file.mm | diction -L de | fmt

ENVIRONMENT


LC_MESSAGES=de|en|nl
specifies the message language and is also used as default for the phrase language.
The default language is en.

Use diction online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 2
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • 3
    Xtreme Download Manager
    Xtreme Download Manager
    The project has a new home now:
    https://xtremedownloadmanager.com/ For
    developers:
    https://github.com/subhra74/xdm Xtreme
    Download Manager is a powerful tool t...
    Download Xtreme Download Manager
  • 4
    TTGO VGA32 Lite
    TTGO VGA32 Lite
    Features:4:3 and 16:9 low resolution
    VGA outputPS/2 keyboard and mouse
    inputText-based user interface (TUI)
    with dialog managerPartial Unicode
    supportSlave dis...
    Download TTGO VGA32 Lite
  • 5
    Clover EFI bootloader
    Clover EFI bootloader
    Project has moved to
    https://github.com/CloverHackyColor/CloverBootloader..
    Features:Boot macOS, Windows, and Linux
    in UEFI or legacy mode on Mac or PC with
    UE...
    Download Clover EFI bootloader
  • 6
    unitedrpms
    unitedrpms
    Join us in Gitter!
    https://gitter.im/unitedrpms-people/Lobby
    Enable the URPMS repository in your
    system -
    https://github.com/UnitedRPMs/unitedrpms.github.io/bl...
    Download unitedrpms
  • More »

Linux commands

Ad