[EMAIL PROTECTED] schrieb:
I doubt this is the right place to bring this up, but maybe some one
can tell me where to go :-)
Yeah, this is definitely the wrong place, not really sure where the
appropriate place for this is though. Probably a perl or coreutils
related list/forum might help you.
I have discovered an inconsistency in how perl and sort handle locale.
Here are two commands you can run in a shell ...
(echo '/'; echo '?') | sort
(echo '/'; echo '?') | perl -e '@x = <>; print $_ foreach sort @x'
With LANG=en_US.UTF-8, sort says ? comes before /, perl says the
opposite. Setting LC_COLLATE=C switches the sort behavior. I have no
idea what else changes or where else perl and sort disagree, or what
other programs do.
Seems like something is wrong, but I don't know what. This happens on
other versions of Linux. It is not a gentoo specific problem.
--
[email protected] mailing list