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

Re: Locales/sort bug



Camaleón wrote:
> I'm trying to "reverse-engineering" the logic behind the sort but I can't 
> see it. Maybe it is done randomly? Very curious, indeed.

It is "dictionary" sort ordering as specified by the locale.  Case is
folded and punctuation is (mostly) ignored.

Personally I always set the following in my ~/.bashrc file.

  export LANG=en_US.UTF-8
  export LC_COLLATE=C

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: