GNU bug report logs - #21916
sort -u drops unique lines with some locales

Previous Next

Package: coreutils;

Reported by: Christoph Anton Mitterer <calestyo <at> scientia.net>

Date: Sat, 14 Nov 2015 05:39:02 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christoph Anton Mitterer <calestyo <at> scientia.net>
To: Pádraig Brady <P <at> draigBrady.com>, 21916 <at> debbugs.gnu.org
Subject: bug#21916: sort -u drops unique lines with some locales
Date: Sat, 14 Nov 2015 22:23:11 +0100
[Message part 1 (text/plain, inline)]
Oh one further solution:

- document more properly in the manpage and --help, what -u really is,
and especially that it may not behave as expected, with other
locales/collations.
Perhaps even giving an example, so that people understand the
seriousness of that.

- add companion option, maybe -U, which sorts out *only* those lines
which are really binary identical between the two \n .

Cheers,
Chris.
[smime.p7s (application/x-pkcs7-signature, attachment)]

This bug report was last modified 6 years and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.