bug-coreutils
[Top][All Lists]
Advanced

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

Re: sort and uniq with greek letters


From: Paul Eggert
Subject: Re: sort and uniq with greek letters
Date: Wed, 29 Nov 2006 16:30:08 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

Anakreon Mejdi <address@hidden> writes:

> I have a file where each line contains a word, in most cases just a letter.
> The letters are capital greek letters.
> sort does not really sort the lines.
> It does not place lines containing the same text in the wrong order
> (Beta before Alpha for example) but it has  lines containing Alpha then
> Beta and then Alpha again.

Most likely this is an issue with your locales, not with 'sort'
itself.  'sort' is just doing whatever the strcoll function tells it
to.  strcoll in turn looks at your locales.

You should be able to reproduce the problem with a little program that
calls strcoll, and then debug it from there.




reply via email to

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