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

2018-10-27 Thread Assaf Gordon
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

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

2016-06-02 Thread Eric Blake
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 l

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

2016-06-02 Thread Karl Berry
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. How about a way to

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

2016-06-02 Thread Andreas Schwab
Karl Berry writes: > Due to the locale rules, the punctuation characters are being ignored > (presumably), They are not ignored, just considered only secondary, if the first order characters didn't provide an ordering. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58

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

2016-06-01 Thread Karl Berry
Consider this two-line input file: M !z M /a (! = ASCII 33; / = ASCII 47.) Locale-dependent sort with debug: LC_ALL=en_US.UTF-8 sort --debug -k2 /tmp/foo Output: sort: using ‘en_US.UTF-8’ sorting rules .. M /a ___ M !z ___ Due to the locale rules, the punctuation characters are