Re: sort wierdness

2010-11-05 Thread Gordon Messmer
On 11/05/2010 06:07 AM, Neil Bird wrote: > The '@' gets > binned along with the quotes and spaces, and the meandering is down to the > line it's on changing from 'COMP' to just 'C' (as far as the sort is > concerned). I'm pretty sure the values aren't "changed". 'COMP' is sorted where it should

Re: sort wierdness

2010-11-05 Thread Neil Bird
Around about 05/11/10 12:54, Jakub Jelinek typed ... > Just look into your vocabulary, it is sorted similarly. In most locales > various characters are considered only in second or even later passes > through strings, when strings without those characters are otherwise > equal. OK, I can see w

Re: sort wierdness

2010-11-05 Thread Jakub Jelinek
On Fri, Nov 05, 2010 at 12:47:18PM +, Neil Bird wrote: > >I am seeing sort treat '@' specially; in particular, it wanders around > the sort order depending upon the rest of the input line. Anyone have an > explanation? I guess it's something to do with locale, but the input > strings

sort wierdness

2010-11-05 Thread Neil Bird
I am seeing sort treat '@' specially; in particular, it wanders around the sort order depending upon the rest of the input line. Anyone have an explanation? I guess it's something to do with locale, but the input strings affecting it as well make no sense to me. $ locale LANG=en_GB.UTF-8