Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2010-02-25 19:42:59 +0300
committerCorinna Vinschen <corinna@vinschen.de>2010-02-25 19:42:59 +0300
commita8260e19f90ab1ed2a9c3fec9c9ed886018eed61 (patch)
treed11cfc2640167aa39c1ac9b82978279a7083c397
parentf88331443b08607ef17b036a0587100981d1774f (diff)
* utils.sgml (locale): Change description of -a and -av to match
latest changes.
-rw-r--r--winsup/utils/ChangeLog5
-rw-r--r--winsup/utils/utils.sgml63
2 files changed, 53 insertions, 15 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 2687817c0..836e1ed53 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-25 Corinna Vinschen <corinna@vinschen.de>
+
+ * utils.sgml (locale): Change description of -a and -av to match
+ latest changes.
+
2010-02-23 Corinna Vinschen <corinna@vinschen.de>
* locale.cc (printlocale): Remove.
diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml
index f16d44dd0..08bae9ac3 100644
--- a/winsup/utils/utils.sgml
+++ b/winsup/utils/utils.sgml
@@ -638,27 +638,60 @@ en_US.UTF-8
<para>The <literal>-a</literal> option is helpful to learn which locales
are supported by your Windows machine. It prints all available locales
-and the allowed modifiers. The <literal>-v</literal> option prints
-additionally the English names of the language and territory connected
-to this locale. Example:</para>
+and the allowed modifiers. Example:</para>
<screen>
-bash$ locale -av
-ar_SA Arabic (Saudi Arabia)
-ar_IQ Arabic (Iraq)
+bash$ locale -a
+C
+C.utf8
+POSIX
+af_ZA
+af_ZA.utf8
+am_ET
+am_ET.utf8
...
-zh_TW Chinese (Traditional) (Taiwan)
-zh_TW@cjknarrow Chinese (Traditional) (Taiwan)
+be_BY
+be_BY.utf8
+be_BY@latin
...
-de_AT German (Austria)
-de_AT@euro German (Austria)
+ca_ES
+ca_ES.utf8
+ca_ES@euro
+catalan
...
-en_US English (United States)
-en_GB English (United Kingdom)
-en_AU English (Australia)
+</screen>
+
+<para>The <literal>-v</literal> option prints more detailed information about
+each available locale. Example:</para>
+
+<screen>
+bash$ locale -av
+locale: af_ZA archive: /cygdrive/c/Windows/system32/kernel32.dll
+-------------------------------------------------------------------------------
+ language | Afrikaans
+territory | South Africa
+ codeset | ISO-8859-1
+
+locale: af_ZA.utf8 archive: /cygdrive/c/Windows/system32/kernel32.dll
+-------------------------------------------------------------------------------
+ language | Afrikaans
+territory | South Africa
+ codeset | UTF-8
+
...
-sr_RS Serbian (Cyrillic) (Serbia)
-sr_RS@latin Serbian (Latin) (Serbia)
+
+locale: ca_ES@euro archive: /mnt/c/Windows/system32/kernel32.dll
+-------------------------------------------------------------------------------
+ language | Catalan
+territory | Spain
+ codeset | ISO-8859-15
+
+locale: catalan archive: /usr/share/locale/locale.alias
+-------------------------------------------------------------------------------
+ language | Catalan
+territory | Spain
+ codeset | ISO-8859-1
+
...
</screen>