Bug 20975 - sort problem
Summary: sort problem
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: textutils (Show other bugs)
(Show other bugs)
Version: 7.0
Hardware: i386 Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-11-16 19:27 UTC by Need Real Name
Modified: 2007-04-18 16:29 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-16 20:01:05 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Need Real Name 2000-11-16 19:27:30 UTC
When sorting the following text.....

4072.10 4072.9
4072.10000 .
4072.100 4072.99
4072.1 4072.1980
4072.1000 4072.3341


I get the following results:

Red Hat 7.0, textutils-2.0e-8
4072.10000 .
4072.1000 4072.3341
4072.100 4072.99
4072.10 4072.9
4072.1 4072.1980


Red Hat 6.2, textutils-1.22-7
4072.1 4072.1980
4072.10 4072.9
4072.100 4072.99
4072.1000 4072.3341
4072.10000 .

IBM AIX 4.3.3
4072.1 4072.1980
4072.10 4072.9
4072.100 4072.99
4072.1000 4072.3341
4072.10000 .

Comment 1 Need Real Name 2000-11-16 20:01:02 UTC
Ummm - I gave the wrong Red Hat version in my second example above.  It is Red
Hat 5.1, not 6.2.  The version of textutils is listed correctly.  Sorry for the
bother.   Sam.

Comment 2 Derek Tattersall 2000-11-16 20:20:56 UTC
LC_ALL=C sort <input file>  sorts your input properly.  Remember glibc is now
internationalized and sort does not assume any particular collating sequence
until it is told.


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