Comment 2 for bug 1248239

Revision history for this message
Fumihito YOSHIDA (hito) wrote :

'sort' command does not support "human graspable sorting" in unicode environments.
http://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-order_0021

I suggest solution, sort with "LC_ALL=C" variables (or set in your aliases).

This is bad spec, but this is unalterable by historical reason.

$ ls -1 | sort



②-test.txt
⑤-test.txt
④-test.txt
⑥-test.txt
①-test.txt
③-test.txt

$ ls -1| LC_ALL=C sort

①-test.txt

②-test.txt

③-test.txt
④-test.txt
⑤-test.txt
⑥-test.txt