Michael A. Smith wrote:
> 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.
Thanks for the report. But I cannot recreate your problem.
> Empirically, setting LANG or any LC* variable makes the -R option of
> no effect.
Can you create a small test case that shows the problem such that you
can share it with the mailing list? Also what version are you
running? Here is what I see.
$ sort --version
sort (GNU coreutils) 6.9+
$ seq 1 5 | LC_ALL=en_US.UTF-8 sort -R
2
5
4
1
3
Bob