"Fossies" - the Fresh Open Source Software Archive

Member "detox-1.4.5/man/detox.tbl.5" (15 Aug 2021, 1672 Bytes) of package /linux/privat/detox-1.4.5.tar.gz:


Caution: As a special service "Fossies" has tried to format the requested manual source page into HTML format but links to other man pages may be missing or even erroneous. Alternatively you can here view or download the uninterpreted manual source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

DETOX.TBL(5) BSD File Formats Manual DETOX.TBL(5)

NAME

detox.tbl — translation table for detox(1)

OVERVIEW

detox allows for configuration of how the ISO 8859-1 and UTF-8 (Unicode) filters operate. Through text based translation tables, it is possible to tune how these character sets are interpreted.

SYNTAX

The format of the translation tables is simple. There are two levels: one containing meta data and one containing the actual translations.

default _

Default specifies the default translation for a character. An empty or nonexistent default indicates that any unknown character should fall through to the next filter. In this manner, it is possible to chain together multiple translation tables in a sequence.

start

Indicates the start of a value list within the translation table.

start lang

Indicates the start of a language specific value list within the translation table.

end

Indicates the end of a value list within the translation table.

value translation

Value can be specified in decimal (1), hex (0x01) or octal (01). The same rules that apply to sscanf apply here.

Translation can be a string or a quoted string, with either single or double quotes.

EXAMPLE

default _
start
0x0101 a
0x0102 b
end

SEE ALSO

detox(1), detoxrc(5).

AUTHORS

detox was written by Doug Harple.

BSD August 3, 2004 BSD