From 1b91f0ec7f618027c615f6503dbdfba21ea92acd Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sun, 11 Aug 1996 14:55:14 +0000 Subject: [PATCH] Describe collation order rules (from POSIX WG) --- usr.bin/colldef/NOTE | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 usr.bin/colldef/NOTE diff --git a/usr.bin/colldef/NOTE b/usr.bin/colldef/NOTE new file mode 100644 index 000000000000..327adf5acb11 --- /dev/null +++ b/usr.bin/colldef/NOTE @@ -0,0 +1,35 @@ +% Base collation scheme: 1994-03-22 + +% Ordering algorithm: +% 1. Spaces and hyphen (but not soft +% hyphen) before punctuation +% characters, punctuation characters +% before numbers, +% numbers before letters. +% 2. Letters with diacritical marks are +% members of equivalence classes +% 3. A distinction is made with regards +% to case as noted below. +% 4. Special characters are ignored +% when comparing letters, but then +% they are considered +% 5. The alphabets are sorted in order +% of first appearance in ISO 10646: +% Latin, Greek, Cyrillic, etc. +% +% According to Greek specifications, +% the steps 2. and 3. above are reversed +% for the Greek script + +% collating symbols + +collating-symbol +collating-symbol +collating-symbol +collating-symbol + +% and +% are for cases like Danish +% and Spanish being treated +% as one letter. +