From unknown Sun Jun 22 03:51:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#23012 <23012@debbugs.gnu.org> To: bug#23012 <23012@debbugs.gnu.org> Subject: Status: sort: add option to set specific locale Reply-To: bug#23012 <23012@debbugs.gnu.org> Date: Sun, 22 Jun 2025 10:51:13 +0000 retitle 23012 sort: add option to set specific locale reassign 23012 coreutils submitter 23012 John Heidemann severity 23012 wishlist tag 23012 wontfix thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 14:23:30 2016 Received: (at submit) by debbugs.gnu.org; 14 Mar 2016 18:23:30 +0000 Received: from localhost ([127.0.0.1]:48169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afX9O-0008M5-1W for submit@debbugs.gnu.org; Mon, 14 Mar 2016 14:23:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51448) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afX9M-0008Lo-Tp for submit@debbugs.gnu.org; Mon, 14 Mar 2016 14:23:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afX9G-0005rJ-9M for submit@debbugs.gnu.org; Mon, 14 Mar 2016 14:23:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afX9G-0005rE-6U for submit@debbugs.gnu.org; Mon, 14 Mar 2016 14:23:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afX9F-0005J0-3K for bug-coreutils@gnu.org; Mon, 14 Mar 2016 14:23:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afX9B-0005pX-1V for bug-coreutils@gnu.org; Mon, 14 Mar 2016 14:23:21 -0400 Received: from boreas.isi.edu ([128.9.160.161]:42307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afX9A-0005kB-PM for bug-coreutils@gnu.org; Mon, 14 Mar 2016 14:23:16 -0400 Received: from dash.isi.edu (vir.isi.edu [128.9.160.91]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id u2EI2tFQ029951 for ; Mon, 14 Mar 2016 11:02:55 -0700 (PDT) Received: from dash.isi.edu (localhost.isi.edu [127.0.0.1]) by dash.isi.edu (Postfix) with ESMTP id 0CCFA2823F6 for ; Mon, 14 Mar 2016 11:02:55 -0700 (PDT) To: bug-coreutils@gnu.org Subject: add option to specific locale to sort From: John Heidemann X-url: http://www.isi.edu/~johnh/ MIME-Version: 1.0 (generated by SEMI 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Date: Mon, 14 Mar 2016 11:02:55 -0700 Message-ID: <1113.1457978575@dash.isi.edu> X-ISI-4-43-8-MailScanner: Found to be clean X-MailScanner-From: johnh@isi.edu X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Locale-specific sorting produces uprising results. While locale-specific sorting is all as per POSIX, the details are obscure and can be confusing. (See for example this comment in the code: /* Always output the locale in debug mode, since this is such a common source of confusion. */ and "Sort does not sort in normal order!" at http://www.gnu.org/software/coreutils/faq/coreutils-faq.html ) Locale-specific result can only be controlled by setting the LC_LOCALE or LC_COLLATE environment variables. However, this approach results in "spooky action at a distance"---it is not obvious to users, and it can be hard to control when sort is used from other programs. Suggested enhancement: it should be possible to specify the locale on the command-line, making control of this feature more accessible. A patch at http://www.isi.edu/~johnh/SOFTWARE/sort_locale_option_160314.patch adds --locale=WHATEVER and -L to accomplish this goal. The patch is against coreutils-8.24. Please consider it for submission to coreutils. A test case that exhibits locale-specific oddness, with current sort: { echo '100.0.2'; echo '1.0.2'; echo '1x0.2'; echo 'the 1.0 is first as Kerningham intended'; } |LC_COLLATE=C sort { echo '100.0.2'; echo '1.0.2'; echo '1x0.2'; echo 'the 100.0.2 is first, for fun and confusion'; } |LC_COLLATE=en_US.utf8 sort And the happeniess that ensues from control without environment variables: { echo '100.0.2'; echo '1.0.2'; echo '1x0.2'; echo 'the 1.0 is first as Kerningham intended'; } |./sort --locale=C { echo '100.0.2'; echo '1.0.2'; echo '1x0.2'; echo 'the 100.0.2 is first, for fun and confusion'; } | ./sort --locale=en_US.utf8 If the coreutils maintainers consider this patch acceptable, I will also write a patch that updates the documentation. (You may also want to add this option across other tools. That part is left as an exercise to the reader. :-) -John Heidemann From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 14:39:47 2016 Received: (at 23012) by debbugs.gnu.org; 14 Mar 2016 18:39:47 +0000 Received: from localhost ([127.0.0.1]:48182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afXP9-0000W2-0a for submit@debbugs.gnu.org; Mon, 14 Mar 2016 14:39:47 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:51792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afXP7-0000Vq-I0 for 23012@debbugs.gnu.org; Mon, 14 Mar 2016 14:39:46 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id F1B5A160E87; Mon, 14 Mar 2016 11:39:38 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id r2h84Ns9XvW2; Mon, 14 Mar 2016 11:39:38 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 49C2D160FF7; Mon, 14 Mar 2016 11:39:38 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ItDE4fmXHvo3; Mon, 14 Mar 2016 11:39:38 -0700 (PDT) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 31D5C160E87; Mon, 14 Mar 2016 11:39:38 -0700 (PDT) Subject: Re: bug#23012: add option to specific locale to sort To: John Heidemann , 23012@debbugs.gnu.org References: <1113.1457978575@dash.isi.edu> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <56E70569.4010607@cs.ucla.edu> Date: Mon, 14 Mar 2016 11:39:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1113.1457978575@dash.isi.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 23012 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On 03/14/2016 11:02 AM, John Heidemann wrote: > A test case that exhibits locale-specific oddness, with current sort: > > ... LC_COLLATE=C sort ... > > And the happeniess that ensues from control without environment variables: > > ... sort --locale=C ... > I dunno, these approaches seem about the same to me. And 'LC_ALL=C sort' is standardized whereas 'sort --locale=C' is not, which is a significant advantage for portable scripts. And if we added the --locale option to 'sort', for consistency we'd need to add it to uniq, awk, grep, etc., etc., and document all this, and explain why there are two ways to specify the same thing and that one overrides the other, etc., etc. Is the minor benefit worth all this hassle? From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 16:12:48 2016 Received: (at 23012) by debbugs.gnu.org; 14 Mar 2016 20:12:48 +0000 Received: from localhost ([127.0.0.1]:48209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afYrA-0002oO-0X for submit@debbugs.gnu.org; Mon, 14 Mar 2016 16:12:48 -0400 Received: from boreas.isi.edu ([128.9.160.161]:47517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afYr7-0002oE-L4 for 23012@debbugs.gnu.org; Mon, 14 Mar 2016 16:12:46 -0400 Received: from dash.isi.edu (vir.isi.edu [128.9.160.91]) by boreas.isi.edu (8.13.8/8.13.8) with ESMTP id u2EKCD3M028515; Mon, 14 Mar 2016 13:12:13 -0700 (PDT) Received: from dash.isi.edu (localhost.isi.edu [127.0.0.1]) by dash.isi.edu (Postfix) with ESMTP id 5533A2823F6; Mon, 14 Mar 2016 13:12:12 -0700 (PDT) From: John Heidemann To: Paul Eggert Subject: Re: bug#23012: add option to specific locale to sort In-reply-to: <56E70569.4010607@cs.ucla.edu> References: <1113.1457978575@dash.isi.edu> <56E70569.4010607@cs.ucla.edu> X-url: http://www.isi.edu/~johnh/ MIME-Version: 1.0 (generated by SEMI 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Date: Mon, 14 Mar 2016 13:12:12 -0700 Message-ID: <7645.1457986332@dash.isi.edu> X-ISI-4-43-8-MailScanner: Found to be clean X-MailScanner-From: johnh@isi.edu X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 23012 Cc: 23012@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On Mon, 14 Mar 2016 11:39:37 -0700, Paul Eggert wrote: >On 03/14/2016 11:02 AM, John Heidemann wrote: >> A test case that exhibits locale-specific oddness, with current sort: >> >> ... LC_COLLATE=C sort ... >> >> And the happeniess that ensues from control without environment variables: >> >> ... sort --locale=C ... >> > >I dunno, these approaches seem about the same to me. And 'LC_ALL=C >sort' is standardized whereas 'sort --locale=C' is not, which is a >significant advantage for portable scripts. And if we added the >--locale option to 'sort', for consistency we'd need to add it to >uniq, awk, grep, etc., etc., and document all this, and explain why >there are two ways to specify the same thing and that one overrides >the other, etc., etc. Is the minor benefit worth all this hassle? 0. I would suggest that sort has a problem, as shown by the comment in the code and a large FAQ entry (two of them: one for sort and one for ls). People are confused---it would be nice to change something to reduce confusion. You're right that there are two questions: 1- is the API with arguments any better 2- does it need to be uniform across all utilities? 1. About arguments, environment variables vs. CLI approaches are quite different. In a shell script, you're right that LC_COLLATE=C sort vs sort --locale=C are about the same. Except, one might instead put LC_COLLATE elsewhere in the script export LC_COLLATE=C # 100 lines of shell sort # now with correct behavior depending on a global variable 100 lines ago Things look even more different from C, where it is setenv("LC_COLLATE", "C", 1); vs. arguments to execve. Is CLI *better*? I suggest slightly better, but not that much better (by itself). Where it wins (I think) is that it is more regular with how other things are done with sort. It would appear in the man page. (By the way: if you don't take the patch, (a) I encourage you to copy the text about LC_COLLATE from the info page to the manual page, and (b) it looks like (in the code) the monetary aspects of locale also affects sorting. That is not mentioned in either info or man. These changes might address some of the confusion raised in #0 above.) 2. does it have to be across all utilities? Maybe in the fullness of time. Or maybe not. For me, sort is particularly important because some apps depend on its output. In other tools (like ls, from the FAQ), output order doesn't usually affect correctness. The specific use case that led me here is that Hadoop wants sorted input to the reduce phase. By default it uses a Java-based sort with sort(1)-style arguments. However, it ignores locale. To be compatible, one must run GNU sort with LC_COLLATE=C, and figuring that out is not at all obvious. -John Heidemann From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 15 03:17:44 2016 Received: (at 23012) by debbugs.gnu.org; 15 Mar 2016 07:17:44 +0000 Received: from localhost ([127.0.0.1]:48441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afjEe-0000Rd-IL for submit@debbugs.gnu.org; Tue, 15 Mar 2016 03:17:44 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:53455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1afjEd-0000RR-A0 for 23012@debbugs.gnu.org; Tue, 15 Mar 2016 03:17:43 -0400 Received: from [192.168.101.10] ([217.86.86.16]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0MaG3Y-1aQPGS2mdc-00JtWs; Tue, 15 Mar 2016 08:17:12 +0100 Subject: Re: bug#23012: add option to specific locale to sort To: Paul Eggert , John Heidemann , 23012@debbugs.gnu.org References: <1113.1457978575@dash.isi.edu> <56E70569.4010607@cs.ucla.edu> From: Bernhard Voelker Message-ID: <56E7B6F3.50004@bernhard-voelker.de> Date: Tue, 15 Mar 2016 08:17:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <56E70569.4010607@cs.ucla.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:uTc0FxG5ODd3qycT8OMUVqzoL/Q/Me0FSOhdf/s/4KJl/4SGhUs DUfVGepojlGoMr9DxnMw8H8H6KX6u7NOBNWkWVL91HCw25PM7lKDk4Sy1d0DBo+PwL5N960 m3amawGIATwJL9LcxjJsDGZvlvDAPushyEhyU+hgT3sow9Rrg0lypGJTA7uR1GNJ/mrznfM R74X2Bu/GIYk1zzwwrtSA== X-UI-Out-Filterresults: notjunk:1;V01:K0:iN7VqCGEGQ8=:P/h6Eaf9r7hJDA7hATrhLB y3ZtY3q70qmOG6VKo6Rb091F6ZqvipTQvb9AYN34nDezmRvcWmNLSXpWYUQZkjKZge4LGGOA1 vR5PMIlxtf90+l1vivHrDxlfz3cU8971Ib9tC8//IfRdXBcWPPDTvaSsHwg2XJVmllvhfafou 2iEHHkG535VOP2lpE75zqJG3BiJylkNX0JUaFLKWLNR9YdZLUPkABEAd77ShVC0dxQIyGHOQ7 +Itv9gy0nppLadObVvTmUfoPylQq5jJX+kn2eYjq87yqOARauJZCyKtFnoVJQGI7/VrMfvUOu s/X+TUiidHNbCdQjgYTchG4So4MccIbTaSHLCKDHK2XgMaEhfHoZepzQo6ikUvGp2Z7XUOnBA Xa+vfreBjp1rZFQEBiWDl9uSqZ3TuZwW08Yi5HwGV4gYnv8rIkinmi+aPAIVyuqtNZqTpkxq5 be/eg2WICx3gI6I2gfzTHsaZJ0VG3oNqqUeT25jFtXauhxNYn/7A/0GfKcyuvzljSsyfeEPT8 5dVcw7MZgCGmXEUTzw/hSs3/OwTh+pY3mZFUFELR2czE39Nyc4vv8cvId8yFVdOvlZUy+5VwZ O5jKsWrjY4KBte6rBBBDuiwqA4PYYoN9XhhGM9h6+uvSkzf+aNKFBNCS5FDaZpKEyDGhCgPo4 ryrS+O3tOnm5vpajyGjlooZJ33AQnYYPBelw0jgC5hUCDzO04w/T0GAoyTYYYLwwlIjRErSgL swqROAE6q4BsS/9L X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 23012 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 03/14/2016 07:39 PM, Paul Eggert wrote: > Is the minor benefit worth all this hassle? I'm afraid not. Furthermore, I've seen several "creative" approaches of day-to-day users for spelling the locale: is it upper-case? Use a dot or a minus or an underscore between the 1st and 2nd part? Is the country "de" or why would it be "de_de" or "eu_de" or ...? Is is "utf-8" or "UTF.8" or "utf8"? TBC. After all, the only case I see is that users are unhappy with the sorting of their non-C locale, or put the other way round: probably the only value needed is --locale=C which could then be a fix option like --C-locale. Yet, as there's "LC_ALL=C sort ...", this is still redundant. Have a nice day, Berny From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 25 12:08:00 2018 Received: (at control) by debbugs.gnu.org; 25 Oct 2018 16:08:00 +0000 Received: from localhost ([127.0.0.1]:42738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFiAy-0006jl-Ip for submit@debbugs.gnu.org; Thu, 25 Oct 2018 12:08:00 -0400 Received: from mail-it1-f172.google.com ([209.85.166.172]:35667) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gFiAw-0006jN-7H; Thu, 25 Oct 2018 12:07:58 -0400 Received: by mail-it1-f172.google.com with SMTP id p64-v6so2453845itp.0; Thu, 25 Oct 2018 09:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ts0QgeyQO/h+0iTKQ54KuW8vFHXtlIzrnjRHlWnrmFA=; b=rnFVhbyMevH6yta4n7L1BJrkI7vS9/VxTcB48XqqwXvclqXGvGjcmQw7vcP5s7tyEN CYfgSoz8eJxnoCiZiI4Z/SfGQ0tHVCd1tiInaVzD4fDNjLY8v7EXYYV6+YIx+x1r1F1d M69NxL6zMah7QF9glsTxYL7uz7MvgAiHG6xIPjAc58qxtXpc/aCWH1l4oyLYFDpoAsGI ltX025SsiP2za0s4qZqqa3+6mz9B7ibSYzDffI4/wXbkV6NPsqBoLbYdcU2/DLReFKMa yqlsQZwZs+dZ4BiSDzwBJuwlvKnqpm2j6jj9UXw4GIC+oMXD71Zl54a7DJejL7e2fWVY jNEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ts0QgeyQO/h+0iTKQ54KuW8vFHXtlIzrnjRHlWnrmFA=; b=LmRxGM/XADFukCf1/QQyQ0h3VJ6H1tPEP3k5isKX2Edn2/FRuPNoK/iKYqq0Zvs231 79CvlUpBqHJ/nDbQRFsbSZky59akSnKrF9ZmTnTtXQZhQk0S12aAER9by9MrUHXI+FJq dZZ4vw2hlSL8AiwdwbjkZlO6Jxdju6N5ttN0AWHhNOJu7Ha+/pmC17/FRZpJZA+JW9HR 1oX2kNa+hmWtyoSSsZjjVZh0UyDVn/gzbFzVZ94+m1xxPD6WrFxv768YrPNVWylo8n4b nnct4eCb2PyvuqdqQ8p5+wb1ebxqgzUPbZvYOtJ5R8bCvSUosb4FPxpArYbUqqGj8Y2K UpCg== X-Gm-Message-State: AGRZ1gK6X7P2PmGpql9BHrXZiJyUw39hLhdkDk5niAqAqEV9wYOVi85c yk1JOGEXwCr8B2l2mDR331Re9sOyjOU= X-Google-Smtp-Source: AJdET5d0F/yUDfgIrMw7QswBo4jVN8O3hu2A13rQGxI9z6Id/l8ydgLhthW/buqykPrA4mIJ1Bysag== X-Received: by 2002:a24:90c2:: with SMTP id x185-v6mr1490734itd.170.1540483672327; Thu, 25 Oct 2018 09:07:52 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.gmail.com with ESMTPSA id h130-v6sm3106991ioa.52.2018.10.25.09.07.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Oct 2018 09:07:50 -0700 (PDT) Date: Thu, 25 Oct 2018 10:07:48 -0600 From: Assaf Gordon To: 23013@debbugs.gnu.org Subject: Re: bug#23012: add option to specific locale to sort Message-ID: <20181025160748.p5w3owukwmbtzmua@tomato.housegordon.com> References: <1113.1457978575@dash.isi.edu> <56E70569.4010607@cs.ucla.edu> <56E7B6F3.50004@bernhard-voelker.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56E7B6F3.50004@bernhard-voelker.de> User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) retitle 23012 sort: add option to set specific locale severity 23012 wishlist tags 23012 wontfix close 23012 stop (triaging old bug) On Tue, Mar 15, 2016 at 08:17:07AM +0100, Bernhard Voelker wrote: > > After all, the only case I see is that users are unhappy with the sorting > of their non-C locale, or put the other way round: probably the only value > needed is --locale=C which could then be a fix option like --C-locale. > Yet, as there's "LC_ALL=C sort ...", this is still redundant. > With no further comments in 2 years, I'm closing this bug. Discussion can continue by replying to this thread. -assaf From unknown Sun Jun 22 03:51:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 23 Nov 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator