Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-portage-dev
I doubt this is the right place to bring this up, but maybe some one
can tell me where to go :-)
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.
--
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
Felix Finch: scarecrow repairman & rocket surgeon / felix@...
GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
--
gentoo-portage-dev@g.o mailing list
|
| Replies: |
Re: Perl, sort, and locale -- NEVER MIND
-- felix
|
Re: Perl, sort, and locale
-- Marius Mauch
|
Re: Perl, sort, and locale
-- Alec Warner
|
| Navigation: |
|
Lists:
gentoo-portage-dev:
< Prev
By Thread
Next >
< Prev
By Date
Next >
|
| Previous by thread: |
| feature freeze for 2.1 |
| Next by thread: |
| Re: Perl, sort, and locale |
| Previous by date: |
| Re: feature freeze for 2.1 |
| Next by date: |
| Re: Perl, sort, and locale |
|