Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 16861 - sort is broken
sort is broken
Product: Red Hat Linux
Classification: Retired
Component: textutils (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
Depends On:
  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:
Last Closed: 2000-08-24 12:19:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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.