mirror of https://github.com/mkerrisk/man-pages
charmap.5: Clarify keyword syntax
Updates charmap(5) to match the syntax all the glibc charmap files are using currently.
This commit is contained in:
parent
8f2929107b
commit
28ad474d15
|
@ -49,9 +49,9 @@ The default value is 1.
|
||||||
.I <mb_cur_min>
|
.I <mb_cur_min>
|
||||||
is followed by the minimum number of bytes for a character.
|
is followed by the minimum number of bytes for a character.
|
||||||
This value must be less than or equal than
|
This value must be less than or equal than
|
||||||
.IR mb_cur_max .
|
.IR <mb_cur_max> .
|
||||||
If not specified, it defaults to
|
If not specified, it defaults to
|
||||||
.IR mb_cur_max .
|
.IR <mb_cur_max> .
|
||||||
.PP
|
.PP
|
||||||
The character set definition section starts with the keyword
|
The character set definition section starts with the keyword
|
||||||
.I CHARMAP
|
.I CHARMAP
|
||||||
|
@ -60,14 +60,14 @@ in the first column.
|
||||||
The following lines may have one of the two following forms to
|
The following lines may have one of the two following forms to
|
||||||
define the character set:
|
define the character set:
|
||||||
.TP
|
.TP
|
||||||
.I <character> <byte-sequence> <comment>
|
.I <character> byte-sequence comment
|
||||||
This form defines exactly one character and its byte sequence,
|
This form defines exactly one character and its byte sequence,
|
||||||
.I <comment>
|
.I comment
|
||||||
being optional.
|
being optional.
|
||||||
.TP
|
.TP
|
||||||
.I <character>..<character> <byte-sequence> <comment>
|
.I <character>..<character> byte-sequence comment
|
||||||
This form defines a character range and its byte sequence,
|
This form defines a character range and its byte sequence,
|
||||||
.I <comment>
|
.I comment
|
||||||
being optional.
|
being optional.
|
||||||
.PP
|
.PP
|
||||||
The character set definition section ends with the string
|
The character set definition section ends with the string
|
||||||
|
@ -77,7 +77,7 @@ The character set definition section may optionally be followed by a
|
||||||
section to define widths of characters.
|
section to define widths of characters.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.B WIDTH_DEFAULT
|
.I WIDTH_DEFAULT
|
||||||
keyword can be used to define the default width for all characters
|
keyword can be used to define the default width for all characters
|
||||||
not explicitly listed.
|
not explicitly listed.
|
||||||
The default character width is 1.
|
The default character width is 1.
|
||||||
|
@ -89,10 +89,10 @@ in the first column.
|
||||||
The following lines may have one of the two following forms to
|
The following lines may have one of the two following forms to
|
||||||
define the widths of the characters:
|
define the widths of the characters:
|
||||||
.TP
|
.TP
|
||||||
.I <character> <width>
|
.I <character> width
|
||||||
This form defines the width of exactly one character.
|
This form defines the width of exactly one character.
|
||||||
.TP
|
.TP
|
||||||
.I <character>...<character> <width>
|
.I <character>...<character> width
|
||||||
This form defines the width for all the characters in the range.
|
This form defines the width for all the characters in the range.
|
||||||
.PP
|
.PP
|
||||||
The width definition section ends with the string
|
The width definition section ends with the string
|
||||||
|
@ -109,7 +109,7 @@ The Euro sign is defined as follows in the
|
||||||
charmap:
|
charmap:
|
||||||
.PP
|
.PP
|
||||||
.nf
|
.nf
|
||||||
<U20AC> /xe2/x82/xac
|
<U20AC> /xe2/x82/xac EURO SIGN
|
||||||
.fi
|
.fi
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BR iconv (1),
|
.BR iconv (1),
|
||||||
|
|
Loading…
Reference in New Issue