Anakreon Mejdi <[EMAIL PROTECTED]> 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.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to