Bug 863
Summary: | sort does not use LC_COLLATE settings | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | michael |
Component: | textutils | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED DEFERRED | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.2 | CC: | michael |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 1999-07-13 16:20:28 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
michael
1999-01-18 12:14:37 UTC
Michael, do you know of such a release? I can't find it on ftp.gnu.org. The latest dev release, 1.22f, does NOT have LC_COLLATE / strcoll code included. I just checked. So they may have taken it out since 1.22d, but the latest stuff does not have it. This will have to wait for a future release. I try textutils-1.22h (ftp://ftp.funet.fi/pub/gnu/alpha/gnu/fetish/textutils-1.22h.tar.gz) just now. It has locale code included (as well as 1.22f version! :-) and (both) work right. $ grep LC sort.c char *s = setlocale (LC_ALL, locale); s = setlocale (LC_ALL, ""); char *current_locale_string = setlocale (LC_ALL, ""); $ grep strcol sort.c return strcoll (((const struct month *) m1)->name, diff = strcoll (s1, s2); diff = strcoll (s1, s2); diff = strcoll (copy_a, copy_b); diff = strcoll (ap, bp); ftp://alpha.gnu.org/gnu/textutils* shows only textutils-1.22f.tar.gz -> fetish/textutils-1.22f.tar.gz It is true that in fetish there are later instances of textutils, but if the textutils maintainer thinks that even 1.22f is an alpha release and tries to hide later releases, I really do not feel comfortable overriding that decision. I have no reason to assume that he does not have valid reasons for not making that a more public release. Michael, what is the status of this?? Are you comfortable calling the 6.0 textutils the real deal and closing this? This will be resolved when we upgrade to a new version of textutils when it is released by the textutils author. ------- Additional Comments From 08/12/99 06:06 ------- Textutils 2.0 have benn released (1999-08-06). Hope this is final solution of 'sort & LC_COLLATE' problem. Thanks |