[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sort -R need not respect locales
From: |
Michael A. Smith |
Subject: |
sort -R need not respect locales |
Date: |
Mon, 23 Jul 2007 00:46:40 -0400 |
User-agent: |
Thunderbird 2.0.0.4 (X11/20070617) |
sort -R works well when LC_ALL=POSIX; however, sort -R sorts in exactly the
same way as sort with no options with my LANG=en_US.UTF-8 and
LC_CTYPE=ja_JP.UTF8 settings.
Empirically, setting LANG or any LC* variable makes the -R option of no effect.
Under most circumstances sort's locale-respecting behavior makes perfect sense,
but "randomness" is character set-agnostic. Shouldn't sort -R not care about
LANG or LC* values?
Thanks,
Mike Smith
- sort -R need not respect locales,
Michael A. Smith <=