We don't bite newbies here... much | |
PerlMonks |
Re^3: Sorting according to locale collationby betterworld (Curate) |
on Apr 22, 2007 at 14:42 UTC ( [id://611377]=note: print w/replies, xml ) | Need Help?? |
Looks like sort(1) prints the lines in the same order as Perl's sort does. So I guess the problem is that the locale itself does not treat i and y the same. (I don't know if that's possible at all.) According to perldoc perllocale, the locale answers the question "which of these letters comes first". I don't think that the answer "neither i nor y comes first, but i comes first if it is the only difference in the whole word" is allowed.
In Section
Seekers of Perl Wisdom
|
|