Red Hat Bugzilla – Bug 21913
sort is broken
Last modified: 2007-04-18 12:30:09 EDT
Changing sort so that it no longer functions on simple text files as it
has for 25+ years is a terrible idea. (Yes, I've been using sort on Unix
for that long.)
If you want an i18n sort (and yes, I've read the other bug reports, so I
know the "LC_ALL="C" workaround), that's fine. But the DEFAULT behavior,
when the user does nothing special, should be the same as it has been
since the beginning of (Unix) time.
This change has broken many scripts, and is causing problems which people
probably aren't even fully aware of.
Created attachment 6170 [details]
example of incorrect sorting behavior
POSIX demands this default behavior.
Get used to it or export LC_ALL=C in your startup files.
*** Bug 58233 has been marked as a duplicate of this bug. ***