GNU bug report logs -
#8214
red hat lynx 'sort' bug?
Previous Next
Reported by: "Niergarth, Jeffrey" <jniergar <at> ciena.com>
Date: Wed, 9 Mar 2011 21:05:02 UTC
Severity: normal
Tags: moreinfo, notabug, unreproducible
Done: Eric Blake <eblake <at> redhat.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 09 Mar 2011 14:12:51 -0700
with message-id <4D77ED53.9060207 <at> redhat.com>
and subject line Re: bug#8214: red hat lynx 'sort' bug?
has caused the GNU bug report #8214,
regarding red hat lynx 'sort' bug?
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
8214: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8214
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
The 'sort' utility (no options) doesn't behave as expected:
Here are the pertinent results:
/fpga/OAF/HD/rtl/vhdl_wrapper/clock_monitor_synthesis.v
/fpga/OAF/HD/rtl/vhdl_wrapper/clockmonitor_synthesis.v
/fpga/OAF/HD/rtl/vhdl_wrapper/clock_monitor_synthesis.v IN
/fpga/OAF/HD/rtl/vhdl_wrapper/clockmonitor_synthesis.v IN
Jeff neirgarth
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
[Message part 6 (text/plain, inline)]
On 03/09/2011 01:47 PM, Niergarth, Jeffrey wrote:
> The 'sort' utility (no options) doesn't behave as expected:
Thanks for the report. However, I fail to see that this is a bug.
>
> Here are the pertinent results:
>
> /fpga/OAF/HD/rtl/vhdl_wrapper/clock_monitor_synthesis.v
> /fpga/OAF/HD/rtl/vhdl_wrapper/clockmonitor_synthesis.v
> /fpga/OAF/HD/rtl/vhdl_wrapper/clock_monitor_synthesis.v IN
> /fpga/OAF/HD/rtl/vhdl_wrapper/clockmonitor_synthesis.v IN
This looks reasonable if you are using a locale that discards
punctuation from collation sorting (such as many implementations of
en_US.UTF-8). This is a FAQ:
http://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-order_0021
Try 'LC_ALL=C sort' on the same data, to force all bytes to behave in
ASCII ordering. I'm marking this bug as closed for now, but if you can
provide compelling evidence that there really is a bug in sort after you
sort out your locale, then we can re-open it. You may also want to try
the 'sort --debug' option in the latest coreutils 8.10 to help diagnose
what sort is really doing, and why it is correct (even if it is not what
you were wanting, because you didn't use the right command line options
and locale environment variables).
--
Eric Blake eblake <at> redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 14 years and 137 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.