Jiri Slaby composed on 2024-07-17 14:59 (UTC+0200):
Andrei Borzenkov wrote:
Andrei Borzenkov wrote:
Jiri Slaby wrote:
Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
> TW is doing like 15.6, both since recent months. How can I get results > like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale?
No, it is not the locale (at least, not in any obvious way).
I stay corrected. At least en_US.UTF-8 locale collating rules explicitly ignore space and pseudo-graphics.
I believe he is missing locale files for his set locale (as the output shows). And sort uses POSIX in that case.
I would set POSIX in a script which requires expected collating on any system anyway ;).
Setting POSIX in the script wasn't working in 15.5, but I found sort -f to be adequate magic to please my desires. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata