bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23677: sort --debug not ignoring punctuation when sort does


From: Assaf Gordon
Subject: bug#23677: sort --debug not ignoring punctuation when sort does
Date: Sun, 28 Oct 2018 00:05:37 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

close 23677
stop

(triaging old bugs)

On 2016-06-02 4:09 p.m., Eric Blake wrote:
On 06/02/2016 03:28 PM, Karl Berry wrote:
     They are not ignored, just considered only secondary, if the first
     order characters didn't provide an ordering.

Ok.  One would have no clue of that, either, from the --debug output.

sort obviously knows the exact rules defined by the locale, or it
couldn't do its job.

sort merely calls strcoll(); all the rules are a black box to sort, and
are really something that you have to know how strcoll() uses locale
definitions.

  How about a way to dump the rules in some
human-readable way?  (In sort or another utility or a separate program
or whatever.)  Similar to how James Youngman found a way to write out
regex definitions in Texinfo ... just a wish ... -karl

It might be nicer to request the glibc folks to give human-readable
descriptions of their locale files, and how strcoll() is affected by
those definitions, since it is more than just sort(1) that is impacted.


With no further follow-ups in 2 years,
I'm closing this bug.
Discussion continue by replying to this thread.

-assaf





reply via email to

[Prev in Thread] Current Thread [Next in Thread]