[Bug 2154364] [NEW] sort -u is broken if no LANG is set

Launchpad Bug Tracker 2154364 at bugs.launchpad.net
Wed May 27 18:15:15 UTC 2026


You have been subscribed to a public bug:

To reproduce:

$ echo -e pytest\\npy.test | sort -u
py.test
$ echo -e pytest\\npy.test | LANG=C sort -u
py.test
pytest

This has been fixed upstream.  This breaks all sorts of things, most
prominently for me that `pyenv` will not install shims for `pytest`.
But there must be all sorts of things that rely on this behaviour being
correct that are (perhaps very subtly) broken.

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
sort -u is broken if no LANG is set
https://bugs.launchpad.net/bugs/2154364
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.




More information about the foundations-bugs mailing list