bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort -R need not respect locales


From: Bob Proulx
Subject: Re: sort -R need not respect locales
Date: Mon, 23 Jul 2007 02:04:35 -0600
User-agent: Mutt/1.5.9i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]