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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32603: closed (sort bug?)
Date: Fri, 31 Aug 2018 16:45:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 31 Aug 2018 09:44:35 -0700
with message-id <6959e399-1f37-026e-ebb4-1fbe9942e3d5 <at> cs.ucla.edu>
and subject line Re: bug#32603: sort bug?
has caused the debbugs.gnu.org bug report #32603,
regarding sort bug?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
32603: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32603
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Bartman <michael.bartman <at> sparkpost.com>
To: bug-coreutils <at> gnu.org
Subject: sort bug?
Date: Fri, 31 Aug 2018 11:34:26 -0400
[Message part 3 (text/plain, inline)]
My version of sort seems to have unpredictable behavior, based on the data
being sorted:

$ sort <foo
t
te
tec

$ sort <foo
t.co
tec.co
te.co

$ sort <foo
t.c
te.c
tec.c

$ sort <foo
t.co
tec.co
te.co

$ sort <foo
tec.o
te.o
t.o


$ sort --version
sort (GNU coreutils) 8.4
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and Paul Eggert.
-- 

Using flags -d, -n, -R, -r, and -i had no effect on this behavior.

*Mike Bartman*
*senior software engineer - platform*

*tel* (415)-578-5222 x492
*email *michael.bartman <at> sparkpost.com
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Michael Bartman <michael.bartman <at> sparkpost.com>, 32603-done <at> debbugs.gnu.org
Subject: Re: bug#32603: sort bug?
Date: Fri, 31 Aug 2018 09:44:35 -0700
"sort --help" says:

*** WARNING ***
The locale specified by the environment affects sort order.
Set LC_ALL=C to get the traditional sort order that uses
native byte values.

and that's what you have run into.


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.