Abbreviations – HP R4.2 User Manual

Page 547

Advertising
background image

A

Summary of Commands

logCat

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 508

Abbreviations

It is possible to translate common abbreviations. The -A option controls this
behavior. Abbreviations and acronyms can be translated using a translation
script. The feature is turned on with the -A c|s abbreviations option. It can
be forced off, if enabled via the environment variable, via the -A a option.

The file abbreviations is the source of the translations. Translations is done
in one of two forms, "simple", denoted by s, or "complex", denoted by c. In
simple translation mode, each abbreviation found in a message is translated
directly to the specified alternate form in the abbreviations file. In complex
mode, each abbreviation found is translated into "translation (abbreviation)".
For example, if the translation was:

btw = "by the way"

and the message was:

btw, an error occurred

in "simple" translation mode, the message would be printed as:

by the way, an error occurred

while in "complex" translation mode, the message would be printed as:

by the way (btw), an error occurred

All translations are done by WholeWord. If the WholeWord does not match
the acronym, then no translation takes place.

An abbreviations file is a file containing two word couplets. Any line
beginning with a pound sign character (#) is ignored and all blank lines are

Advertising