This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 1/3] localedata: use same comment_char/escape_char in these files


These files are small and easy to convert to what most others use.
---
 localedata/locales/POSIX       | 289 +++++++++++++++++++++--------------------
 localedata/locales/iso14651_t1 |   6 +-
 2 files changed, 150 insertions(+), 145 deletions(-)

diff --git a/localedata/locales/POSIX b/localedata/locales/POSIX
index df89cb8..2804bdb 100644
--- a/localedata/locales/POSIX
+++ b/localedata/locales/POSIX
@@ -1,95 +1,98 @@
-# POSIX Standard Locale
-#
-# As per ISO/IEC 9945-2:1993 specifications
-# except for these additional identifying comments
-#
-# Source: ISO/IEC JTC1/SC22/WG15
-# Address: C/O DKUUG, Fruebjergvej 3
-#    DK-2100 Copenhagen O, Denmark
-# Contact: Keld Simonsen
-# Email: Keld.Simonsen@dkuug.dk
-# Tel: +45 - 39179944
-# Fax: +45 - 31208948
-# Language: POSIX
-# Territory:
-# Revision: 1.1
-# Date: 1997-03-15
-# Application: general
-# Users: general
-# Charset: ISO646:1993
-# Distribution and use is free, also for
-# commercial purposes.
+comment_char %
+escape_char /
+
+% POSIX Standard Locale
+%
+% As per ISO/IEC 9945-2:1993 specifications
+% except for these additional identifying comments
+%
+% Source: ISO/IEC JTC1/SC22/WG15
+% Address: C/O DKUUG, Fruebjergvej 3
+%    DK-2100 Copenhagen O, Denmark
+% Contact: Keld Simonsen
+% Email: Keld.Simonsen@dkuug.dk
+% Tel: +45 - 39179944
+% Fax: +45 - 31208948
+% Language: POSIX
+% Territory:
+% Revision: 1.1
+% Date: 1997-03-15
+% Application: general
+% Users: general
+% Charset: ISO646:1993
+% Distribution and use is free, also for
+% commercial purposes.
 
 LC_CTYPE
-# The following is the POSIX Locale LC_CTYPE.
-# "alpha" is by default "upper" and "lower"
-# "alnum" is by definiton "alpha" and "digit"
-# "print" is by default "alnum", "punct" and the <U0020> character
-# "graph" is by default "alnum" and "punct"
-#
-upper   <U0041>;<U0042>;<U0043>;<U0044>;<U0045>;<U0046>;<U0047>;<U0048>;\
-        <U0049>;<U004A>;<U004B>;<U004C>;<U004D>;<U004E>;<U004F>;<U0050>;\
-        <U0051>;<U0052>;<U0053>;<U0054>;<U0055>;<U0056>;<U0057>;<U0058>;\
+% The following is the POSIX Locale LC_CTYPE.
+% "alpha" is by default "upper" and "lower"
+% "alnum" is by definiton "alpha" and "digit"
+% "print" is by default "alnum", "punct" and the <U0020> character
+% "graph" is by default "alnum" and "punct"
+%
+upper   <U0041>;<U0042>;<U0043>;<U0044>;<U0045>;<U0046>;<U0047>;<U0048>;/
+        <U0049>;<U004A>;<U004B>;<U004C>;<U004D>;<U004E>;<U004F>;<U0050>;/
+        <U0051>;<U0052>;<U0053>;<U0054>;<U0055>;<U0056>;<U0057>;<U0058>;/
         <U0059>;<U005A>
-#
-lower   <U0061>;<U0062>;<U0063>;<U0064>;<U0065>;<U0066>;<U0067>;<U0068>;\
-        <U0069>;<U006A>;<U006B>;<U006C>;<U006D>;<U006E>;<U006F>;<U0070>;\
-        <U0071>;<U0072>;<U0073>;<U0074>;<U0075>;<U0076>;<U0077>;<U0078>;\
+%
+lower   <U0061>;<U0062>;<U0063>;<U0064>;<U0065>;<U0066>;<U0067>;<U0068>;/
+        <U0069>;<U006A>;<U006B>;<U006C>;<U006D>;<U006E>;<U006F>;<U0070>;/
+        <U0071>;<U0072>;<U0073>;<U0074>;<U0075>;<U0076>;<U0077>;<U0078>;/
         <U0079>;<U007A>
-#
-digit   <U0030>;<U0031>;<U0032>;<U0033>;<U0034>;\
+%
+digit   <U0030>;<U0031>;<U0032>;<U0033>;<U0034>;/
         <U0035>;<U0036>;<U0037>;<U0038>;<U0039>
-#
-space   <U0009>;<U000A>;<U000B>;<U000C>;\
+%
+space   <U0009>;<U000A>;<U000B>;<U000C>;/
         <U000D>;<U0020>
-#
-cntrl   <U0007>;<U0008>;<U0009>;<U000A>;<U000B>;\
-        <U000C>;<U000D>;\
-        <U0000>;<U0001>;<U0002>;<U0003>;<U0004>;<U0005>;<U0006>;<U000E>;\
-        <U000F>;<U0010>;<U0011>;<U0012>;<U0013>;<U0014>;<U0015>;<U0016>;\
-        <U0017>;<U0018>;<U0019>;<U001A>;<U001B>;<U001C>;<U001D>;<U001E>;\
+%
+cntrl   <U0007>;<U0008>;<U0009>;<U000A>;<U000B>;/
+        <U000C>;<U000D>;/
+        <U0000>;<U0001>;<U0002>;<U0003>;<U0004>;<U0005>;<U0006>;<U000E>;/
+        <U000F>;<U0010>;<U0011>;<U0012>;<U0013>;<U0014>;<U0015>;<U0016>;/
+        <U0017>;<U0018>;<U0019>;<U001A>;<U001B>;<U001C>;<U001D>;<U001E>;/
         <U001F>;<U007F>
-#
-punct   <U0021>;<U0022>;<U0023>;\
-        <U0024>;<U0025>;<U0026>;<U0027>;\
-        <U0028>;<U0029>;<U002A>;\
-        <U002B>;<U002C>;<U002D>;<U002E>;<U002F>;\
-        <U003A>;<U003B>;<U003C>;<U003D>;\
-        <U003E>;<U003F>;<U0040>;\
-        <U005B>;<U005C>;<U005D>;\
-        <U005E>;<U005F>;<U0060>;\
+%
+punct   <U0021>;<U0022>;<U0023>;/
+        <U0024>;<U0025>;<U0026>;<U0027>;/
+        <U0028>;<U0029>;<U002A>;/
+        <U002B>;<U002C>;<U002D>;<U002E>;<U002F>;/
+        <U003A>;<U003B>;<U003C>;<U003D>;/
+        <U003E>;<U003F>;<U0040>;/
+        <U005B>;<U005C>;<U005D>;/
+        <U005E>;<U005F>;<U0060>;/
         <U007B>;<U007C>;<U007D>;<U007E>
-#
-xdigit  <U0030>;<U0031>;<U0032>;<U0033>;<U0034>;<U0035>;<U0036>;<U0037>;\
-        <U0038>;<U0039>;<U0041>;<U0042>;<U0043>;<U0044>;<U0045>;<U0046>;\
+%
+xdigit  <U0030>;<U0031>;<U0032>;<U0033>;<U0034>;<U0035>;<U0036>;<U0037>;/
+        <U0038>;<U0039>;<U0041>;<U0042>;<U0043>;<U0044>;<U0045>;<U0046>;/
         <U0061>;<U0062>;<U0063>;<U0064>;<U0065>;<U0066>
-#
+%
 blank   <U0020>;<U0009>
-#
-tolower (<U0041>,<U0061>);(<U0042>,<U0062>);(<U0043>,<U0063>);\
-        (<U0044>,<U0064>);(<U0045>,<U0065>);(<U0046>,<U0066>);\
-        (<U0047>,<U0067>);(<U0048>,<U0068>);(<U0049>,<U0069>);\
-        (<U004A>,<U006A>);(<U004B>,<U006B>);(<U004C>,<U006C>);\
-        (<U004D>,<U006D>);(<U004E>,<U006E>);(<U004F>,<U006F>);\
-        (<U0050>,<U0070>);(<U0051>,<U0071>);(<U0052>,<U0072>);\
-        (<U0053>,<U0073>);(<U0054>,<U0074>);(<U0055>,<U0075>);\
-        (<U0056>,<U0076>);(<U0057>,<U0077>);(<U0058>,<U0078>);\
+%
+tolower (<U0041>,<U0061>);(<U0042>,<U0062>);(<U0043>,<U0063>);/
+        (<U0044>,<U0064>);(<U0045>,<U0065>);(<U0046>,<U0066>);/
+        (<U0047>,<U0067>);(<U0048>,<U0068>);(<U0049>,<U0069>);/
+        (<U004A>,<U006A>);(<U004B>,<U006B>);(<U004C>,<U006C>);/
+        (<U004D>,<U006D>);(<U004E>,<U006E>);(<U004F>,<U006F>);/
+        (<U0050>,<U0070>);(<U0051>,<U0071>);(<U0052>,<U0072>);/
+        (<U0053>,<U0073>);(<U0054>,<U0074>);(<U0055>,<U0075>);/
+        (<U0056>,<U0076>);(<U0057>,<U0077>);(<U0058>,<U0078>);/
         (<U0059>,<U0079>);(<U005A>,<U007A>)
-#
-toupper (<U0061>,<U0041>);(<U0062>,<U0042>);(<U0063>,<U0043>);\
-        (<U0064>,<U0044>);(<U0065>,<U0045>);(<U0066>,<U0046>);\
-        (<U0067>,<U0047>);(<U0068>,<U0048>);(<U0069>,<U0049>);\
-        (<U006A>,<U004A>);(<U006B>,<U004B>);(<U006C>,<U004C>);\
-        (<U006D>,<U004D>);(<U006E>,<U004E>);(<U006F>,<U004F>);\
-        (<U0070>,<U0050>);(<U0071>,<U0051>);(<U0072>,<U0052>);\
-        (<U0073>,<U0053>);(<U0074>,<U0054>);(<U0075>,<U0055>);\
-        (<U0076>,<U0056>);(<U0077>,<U0057>);(<U0078>,<U0058>);\
+%
+toupper (<U0061>,<U0041>);(<U0062>,<U0042>);(<U0063>,<U0043>);/
+        (<U0064>,<U0044>);(<U0065>,<U0045>);(<U0066>,<U0046>);/
+        (<U0067>,<U0047>);(<U0068>,<U0048>);(<U0069>,<U0049>);/
+        (<U006A>,<U004A>);(<U006B>,<U004B>);(<U006C>,<U004C>);/
+        (<U006D>,<U004D>);(<U006E>,<U004E>);(<U006F>,<U004F>);/
+        (<U0070>,<U0050>);(<U0071>,<U0051>);(<U0072>,<U0052>);/
+        (<U0073>,<U0053>);(<U0074>,<U0054>);(<U0075>,<U0055>);/
+        (<U0076>,<U0056>);(<U0077>,<U0057>);(<U0078>,<U0058>);/
         (<U0079>,<U0059>);(<U007A>,<U005A>)
 END LC_CTYPE
 
 LC_COLLATE
-# This is the POSIX Locale definition for the LC_COLLATE category.
-# The order is the same as in the ASCII code set.
+% This is the POSIX Locale definition for the LC_COLLATE category.
+% The order is the same as in the ASCII code set.
 order_start forward
 <U0000>
 <U0001>
@@ -221,13 +224,13 @@ order_start forward
 <U007F>
 UNDEFINED
 order_end
-#
+%
 END LC_COLLATE
 
 LC_MONETARY
-# This is the POSIX Locale definition for
-# the LC_MONETARY category.
-#
+% This is the POSIX Locale definition for
+% the LC_MONETARY category.
+%
 int_curr_symbol     ""
 currency_symbol     ""
 mon_decimal_point   "<U002E>"
@@ -243,92 +246,92 @@ n_cs_precedes       -1
 n_sep_by_space      -1
 p_sign_posn         -1
 n_sign_posn         -1
-#
+%
 END LC_MONETARY
 
 LC_NUMERIC
-# This is the POSIX Locale definition for
-# the LC_NUMERIC category.
-#
+% This is the POSIX Locale definition for
+% the LC_NUMERIC category.
+%
 decimal_point   "<U002E>"
 thousands_sep   ""
 grouping        -1
-#
+%
 END LC_NUMERIC
 
 LC_TIME
-# This is the POSIX Locale definition for
-# the LC_TIME category.
-#
-# Abbreviated weekday names (%s)
-abday   "<U0053><U0075><U006E>";"<U004D><U006F><U006E>";\
-        "<U0054><U0075><U0065>";"<U0057><U0065><U0064>";\
-        "<U0054><U0068><U0075>";"<U0046><U0072><U0069>";\
+% This is the POSIX Locale definition for
+% the LC_TIME category.
+%
+% Abbreviated weekday names (%s)
+abday   "<U0053><U0075><U006E>";"<U004D><U006F><U006E>";/
+        "<U0054><U0075><U0065>";"<U0057><U0065><U0064>";/
+        "<U0054><U0068><U0075>";"<U0046><U0072><U0069>";/
         "<U0053><U0061><U0074>"
-#
-# Full weekday names (%A)
-day     "<U0053><U0075><U006E><U0064><U0061><U0079>";\
-        "<U004D><U006F><U006E><U0064><U0061><U0079>";\
-        "<U0054><U0075><U0065><U0073><U0064><U0061><U0079>";\
-        "<U0057><U0065><U0064><U006E><U0065><U0073><U0064><U0061><U0079>";\
-        "<U0054><U0068><U0075><U0072><U0073><U0064><U0061><U0079>";\
-        "<U0046><U0072><U0069><U0064><U0061><U0079>";\
+%
+% Full weekday names (%A)
+day     "<U0053><U0075><U006E><U0064><U0061><U0079>";/
+        "<U004D><U006F><U006E><U0064><U0061><U0079>";/
+        "<U0054><U0075><U0065><U0073><U0064><U0061><U0079>";/
+        "<U0057><U0065><U0064><U006E><U0065><U0073><U0064><U0061><U0079>";/
+        "<U0054><U0068><U0075><U0072><U0073><U0064><U0061><U0079>";/
+        "<U0046><U0072><U0069><U0064><U0061><U0079>";/
         "<U0053><U0061><U0074><U0075><U0072><U0064><U0061><U0079>"
-#
-# Abbreviated month names (%b)
-abmon   "<U004A><U0061><U006E>";"<U0046><U0065><U0062>";\
-        "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";\
-        "<U004D><U0061><U0079>";"<U004A><U0075><U006E>";\
-        "<U004A><U0075><U006C>";"<U0041><U0075><U0067>";\
-        "<U0053><U0065><U0070>";"<U004F><U0063><U0074>";\
+%
+% Abbreviated month names (%b)
+abmon   "<U004A><U0061><U006E>";"<U0046><U0065><U0062>";/
+        "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";/
+        "<U004D><U0061><U0079>";"<U004A><U0075><U006E>";/
+        "<U004A><U0075><U006C>";"<U0041><U0075><U0067>";/
+        "<U0053><U0065><U0070>";"<U004F><U0063><U0074>";/
         "<U004E><U006F><U0076>";"<U0044><U0065><U0063>"
-#
-# Full month names (%B)
-mon     "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";\
-        "<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0079>";\
-        "<U004D><U0061><U0072><U0063><U0068>";\
-        "<U0041><U0070><U0072><U0069><U006C>";\
-        "<U004D><U0061><U0079>";\
-        "<U004A><U0075><U006E><U0065>";\
-        "<U004A><U0075><U006C><U0079>";\
-        "<U0041><U0075><U0067><U0075><U0073><U0074>";\
-        "<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";\
-        "<U004F><U0063><U0074><U006F><U0062><U0065><U0072>";\
-        "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";\
+%
+% Full month names (%B)
+mon     "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
+        "<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0079>";/
+        "<U004D><U0061><U0072><U0063><U0068>";/
+        "<U0041><U0070><U0072><U0069><U006C>";/
+        "<U004D><U0061><U0079>";/
+        "<U004A><U0075><U006E><U0065>";/
+        "<U004A><U0075><U006C><U0079>";/
+        "<U0041><U0075><U0067><U0075><U0073><U0074>";/
+        "<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";/
+        "<U004F><U0063><U0074><U006F><U0062><U0065><U0072>";/
+        "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
         "<U0044><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
-#
-# Equivalent of AM/PM (%p)      "AM"/"PM"
+%
+% Equivalent of AM/PM (%p)      "AM"/"PM"
 am_pm   "<U0041><U004D>";"<U0050><U004D>"
-#
-# Appropriate date and time representation (%c)
-#       "%a %b %e %H:%M:%S %Y"
-d_t_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>\
-<U0020><U0025><U0048><U003A><U0025><U004D>\
+%
+% Appropriate date and time representation (%c)
+%       "%a %b %e %H:%M:%S %Y"
+d_t_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
+<U0020><U0025><U0048><U003A><U0025><U004D>/
 <U003A><U0025><U0053><U0020><U0025><U0059>"
-#
-# Appropriate date representation (%x)   "%m/%d/%y"
+%
+% Appropriate date representation (%x)   "%m/%d/%y"
 d_fmt   "<U0025><U006D><U002F><U0025><U0064><U002F><U0025><U0079>"
-#
-# Appropriate time representation (%X)   "%H:%M:%S"
+%
+% Appropriate time representation (%X)   "%H:%M:%S"
 t_fmt   "<U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
-#
-# Appropriate 12 h time representation (%r)   "%I:%M:%S %p"
-t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>\
+%
+% Appropriate 12 h time representation (%r)   "%I:%M:%S %p"
+t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
 <U0020><U0025><U0070>"
-#
-# Appropriate date representation (date(1))   "%a %b %e %H:%M:%S %Z %Y"
+%
+% Appropriate date representation (date(1))   "%a %b %e %H:%M:%S %Z %Y"
 date_fmt	"<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A><U0020><U0025><U0059>"
 END LC_TIME
 
 LC_MESSAGES
-# This is the POSIX Locale definition for
-# the LC_NUMERIC category.
-#
+% This is the POSIX Locale definition for
+% the LC_NUMERIC category.
+%
 yesexpr "<U005E><U005B><U0079><U0059><U005D>"
-#
+%
 noexpr  "<U005E><U005B><U006E><U004E><U005D>"
-#
+%
 yesstr  "<U0059><U0065><U0073>"
-#
+%
 nostr   "<U004E><U006F>"
 END LC_MESSAGES
diff --git a/localedata/locales/iso14651_t1 b/localedata/locales/iso14651_t1
index dd694d0..0d10f4f 100644
--- a/localedata/locales/iso14651_t1
+++ b/localedata/locales/iso14651_t1
@@ -1,3 +1,6 @@
+comment_char %
+escape_char /
+
 LC_COLLATE
 
 copy "iso14651_t1_common"
@@ -8,7 +11,6 @@ order_start <HAN>;forward;forward;forward;forward,position
 <U4E00> <U4E00>;IGNORE;IGNORE;IGNORE
 .. ..;IGNORE;IGNORE;IGNORE
 <U9FA5> <U9FA5>;IGNORE;IGNORE;IGNORE
-#
 order_end
-#
+
 END LC_COLLATE
-- 
2.6.2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]