The LANG environment variable is not described in the
setlocale(3) manpage. It would also be helpful to describe the
priority of the environment variables (AFAIK: LC_ALL, then
LC_*, then LANG).
I will take a look at this one.
A patch to describe the LANG variable and note that
documented order (LC_ALL, LC_*, LANG) is the priority order (or so I'm
led to believe from the initial log of this PR)
--- setlocale.3.orig Sat Jun 10 02:37:30 2006
+++ setlocale.3 Sat Jun 10 02:48:42 2006
@@ -60,7 +60,8 @@
function recognizes several categories of routines.
-These are the categories and the sets of routines they select:
+In decending order of evaluation priority, the categories and the sets
+of routines they select:
.Bl -tag -width LC_MONETARY
.It Dv LC_ALL
@@ -103,6 +104,9 @@
Set a locale for formatting dates and times using the
+.It Dv LANG
+Sets the generic locale category for native language, local customs and
+coded character set in the absence of any configured LC_* variables.
Only three locales are defined by default,
Systems and Network Administrator
School Of Mathematics
University Of Dublin, Trinity College
There is also an EXAMPLES section in the NetBSD man page we may want to borrow :
For bugs matching the following criteria:
Status: In Progress Changed: (is less than) 2014-06-01
Reset to default assignee and clear in-progress tags.
Mail being skipped