emacs-orgmode
[Top][All Lists]
Advanced

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

Re: test-org-table/sort-lines: Failing test on macOS


From: Rudolf Adamkovič
Subject: Re: test-org-table/sort-lines: Failing test on macOS
Date: Sun, 09 Oct 2022 17:38:21 +0200

Ihor Radchenko <yantar92@gmail.com> writes:

> Rudolf, can you (1) try sort in terminal to confirm that "C" locale
> behaves as expected in MacOS; (2) If sort works fine, you may consider
> reporting Emacs bug.

For the two examples given by Max on Linux, I get on macOS:

printf 'a\nB\n' | LC_COLLATE=C sort
B
a

printf 'a\nB\n' | LC_COLLATE=en_US.UTF-8 sort
B
a

For the other examples mentioned, I get on macOS:

printf 'a\nb\n' | LC_COLLATE=C sort
a
b

printf 'b\na\n' | LC_COLLATE=C sort
a
b

printf 'A\nB\n' | LC_COLLATE=C sort
A
B

printf 'B\nA\n' | LC_COLLATE=C sort
A
B

printf 'a\nb\n' | LC_COLLATE=C.UTF-8 sort
a
b

printf 'b\na\n' | LC_COLLATE=C.UTF-8 sort
a
b

printf 'A\nB\n' | LC_COLLATE=C.UTF-8 sort
A
B

printf 'B\nA\n' | LC_COLLATE=C.UTF-8 sort
A
B

Rudy
-- 
"Chop your own wood and it will warm you twice."
-- Henry Ford; Francis Kinloch, 1819; Henry David Thoreau, 1854

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia



reply via email to

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