Bug 16861 - sort is broken
sort is broken
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: textutils (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-24 09:06 EDT by mandrews
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-24 12:19:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description mandrews 2000-08-24 09:06:58 EDT
Tracking down a problem aluded to in [Bug 16806] I found that sort in
pinstriper (textutils-2.0e-7) is broken. I run sort on the following:

/      (everyone)
/tmp   (everyone)
/array (everyone)

and get:

/array (everyone)
/      (everyone)
/tmp   (everyone)
Comment 1 Per Starbäck 2000-08-24 12:19:36 EDT
That is because of LC_COLLATE or LANG.  If you do
$ LC_COLLATE=C sort ...
it will sort as you expected.


Comment 2 Bernhard Rosenkraenzer 2000-08-25 09:32:02 EDT
True - if you want the old behavior, export LC_COLLATE=C in /etc/rc.d/rc.local
or the likes.

Note You need to log in before you can comment on or make changes to this bug.