GNU bug report logs - #32603
sort bug?

Previous Next

Package: coreutils;

Reported by: Michael Bartman <michael.bartman <at> sparkpost.com>

Date: Fri, 31 Aug 2018 16:36:01 UTC

Severity: normal

Tags: notabug

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Bartman <michael.bartman <at> sparkpost.com>
To: 32603 <at> debbugs.gnu.org
Subject: bug#32603: Thank you for the quick response and answer!
Date: Fri, 31 Aug 2018 14:41:51 -0400
[Message part 1 (text/plain, inline)]
While the behavior of ignoring parts of the data is unexpected and
confusing, the explanation is clear and useful, and the LC_ALL=C setting
does result in the expected results.  Thank you to all respondents.

The explanation of LC_ALL use in the "sort --help" output could perhaps be
clearer however to reduce the number of future "bug" reports.  Perhaps
something like this:

"The locale specified by the environment affects sort order, and some
locale specifications or defaults may ignore certain characters, such as
punctuation.  If you see unexpected sort output orderings, try setting
LC_ALL=C to get the traditional sort order that uses native byte values."

-- 

*Mike Bartman*
*senior software engineer - platform*

*tel* (415)-578-5222 x492
*email *michael.bartman <at> sparkpost.com
[Message part 2 (text/html, inline)]

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

Previous Next


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