aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2016-06-13 10:20:05 +0300
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-06-14 18:35:47 +0200
commit28ad474d1588e692155cae7d50b92d5ad231cfe7 (patch)
tree500a29908bdb863074c91b3ab1ee405ddcdc66a3
parent8f2929107ba04ae214a2ab7161eff87462932fb9 (diff)
downloadman-pages-28ad474d1588e692155cae7d50b92d5ad231cfe7.tar.gz
charmap.5: Clarify keyword syntax
Updates charmap(5) to match the syntax all the glibc charmap files are using currently.
-rw-r--r--man5/charmap.520
1 files changed, 10 insertions, 10 deletions
diff --git a/man5/charmap.5 b/man5/charmap.5
index 31e3cb44d9..f43d5a540a 100644
--- a/man5/charmap.5
+++ b/man5/charmap.5
@@ -49,9 +49,9 @@ The default value is 1.
.I <mb_cur_min>
is followed by the minimum number of bytes for a character.
This value must be less than or equal than
-.IR mb_cur_max .
+.IR <mb_cur_max> .
If not specified, it defaults to
-.IR mb_cur_max .
+.IR <mb_cur_max> .
.PP
The character set definition section starts with the keyword
.I CHARMAP
@@ -60,14 +60,14 @@ in the first column.
The following lines may have one of the two following forms to
define the character set:
.TP
-.I <character> <byte-sequence> <comment>
+.I <character> byte-sequence comment
This form defines exactly one character and its byte sequence,
-.I <comment>
+.I comment
being optional.
.TP
-.I <character>..<character> <byte-sequence> <comment>
+.I <character>..<character> byte-sequence comment
This form defines a character range and its byte sequence,
-.I <comment>
+.I comment
being optional.
.PP
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.
.PP
The
-.B WIDTH_DEFAULT
+.I WIDTH_DEFAULT
keyword can be used to define the default width for all characters
not explicitly listed.
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
define the widths of the characters:
.TP
-.I <character> <width>
+.I <character> width
This form defines the width of exactly one character.
.TP
-.I <character>...<character> <width>
+.I <character>...<character> width
This form defines the width for all the characters in the range.
.PP
The width definition section ends with the string
@@ -109,7 +109,7 @@ The Euro sign is defined as follows in the
charmap:
.PP
.nf
-<U20AC> /xe2/x82/xac
+<U20AC> /xe2/x82/xac EURO SIGN
.fi
.SH SEE ALSO
.BR iconv (1),