Subject: bug#38627: uniq -c gets wrong count with non-ascii strings

From: Bruno Haible <[email-masked]>
Date: Wed, 18 Dec 2019 05:39:38 +0100

> However, the 2016 edition of POSIX removed mention of LC_COLLATE from 'uniq'

Indeed. The change was done in <http://austingroupbugs.net/view.php?id=963>.
Quote:

"On Page: 3309 Line: 111067 Section: uniq

In the ENVIRONMENT VARIABLES section, delete:

LC_COLLATE

    Determine the locale for ordering rules."

Bruno