It is possible to translate common abbreviations immediately. 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 it is enabled via the environment variable, via the -A a option.
The file abbreviations is the source of the translations. Translations are 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 is:
btw "by the way"
and the message is:
btw, an error occurred
in simple translation mode, the message is printed as:
by the way, an error occurred
while in complex translation mode, the message is printed as:
by the way (btw), an error occurred
All translations are done by the Avaya Recognizer. If the Recognizer does not match the acronym, no translation takes place.
An abbreviations file is a file containing two word couplets. Any line beginning with '#' is ignored and all blank lines are ignored. If either the abbreviation or the translation includes white spaces, it must be enclosed in quote characters as shown in the example above.
The abbreviations capability can also be enabled by setting the environment variable: LOGABBREVIATIONS=M:file, where M is either s or c, and file is the name of the file.