Bug 7020 - sort doesn't work
sort doesn't work
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: textutils (Show other bugs)
6.1
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Bernhard Rosenkraenzer
:
: 10117 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-11-15 12:43 EST by Timur
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-11-22 12:18:20 EST
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 Timur 1999-11-15 12:43:16 EST
sort doesn't work in binary mode properly.
Input:
ADa
aba
ADc
Output:
aba
ADa
ADc
Correct output:
ADa
ADc
aba
Just figure out, how many people uses sort in their scripts. In example,
vim+ctags doesn't work, cuz ctags uses sort as external sort program, and
vim by default doesn't understand unsorted tags files.
Comment 1 Bill Nottingham 1999-11-15 14:11:59 EST
sort is paying attention to locales now. What's your locale setting?
Comment 2 Bernhard Rosenkraenzer 1999-11-22 12:18:59 EST
It's not a bug, it's a feature - the new sort is POSIX compliant, therefore
some flags have changed. (See info sort)
Comment 3 Jeff Johnson 2000-03-11 13:00:59 EST
*** Bug 10117 has been marked as a duplicate of this bug. ***
Comment 4 sidlon 2000-03-11 14:00:59 EST
While this isn't a bug in sort, isn't it a problem with the RH6.1 distribution that the default installation doesn't set the LC_ALL variable to work with sort 2.0?  Considering how many people depend on the sort command, it shouldn't take additional tinkering to install RH and have a usable sort.

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