On Mon, Mar 10, 2008 at 11:51:58PM -0600, Bob Proulx wrote:
 Because there is a priority of variables available the documentation
 would need to say set LANG, unless LC_COLLATE is set in which case set
 LC_COLLATE, unless LC_ALL is set in which case set LC_ALL.  That is
 much longer in the usage and much more confusing to users than simply
 saying set LC_ALL.  If they actually set LC_ALL then we are confident
 that they will get the setting.  It is a compromise.

I seem to recall that once upon a time sort either mentioned LC_COLLATE, or it was considered putting LC_COLLATE in. The above is pretty much why it doesn't at the moment, IIRC. One possible compromise would be to say something like "Set LC_ALL to C or set LC_COLLATE as described in ..."--but after a quick look around I have no idea what other doc to point people to. It's frankly just not coreutil's responsibility to document the locale system, but locale(1) doesn't even mention LC_ALL, neither does environ(7) or locale(5). setlocale(3) has the basic info, but it's not at all geared toward the end-user and makes some big assumptions about the reader's background knowledge of the subject.

Mike Stone



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to