Bug 176468 - sort -n broke
sort -n broke
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-23 01:22 EST by Dave Jones
Modified: 2015-01-04 17:23 EST (History)
1 user (show)

See Also:
Fixed In Version: 5.93-5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-12-23 06:58:17 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 Dave Jones 2005-12-23 01:22:09 EST
numeric sort looks really odd. Here's the output of readprofile | sort -n

   105 _spin_unlock_irq                          15.0000
   108 cache_alloc_debugcheck_after               0.3673
   108 schedule                                   0.0400
    10 avc_audit                                  0.0042
    10 copy_files                                 0.0159
    10 do_sync_read                               0.0426
    11 process_backlog                            0.0430
   125 kfree                                      1.0331
    12 dbg_redzone2                               0.2553
    12 generic_fillattr                           0.0800
    12 permission                                 0.0779
   135 *unknown*
    13 add_to_page_cache                          0.0872
    13 cond_compute_av                            0.1171
   140 find_get_page                              2.1875
   140 _raw_spin_lock                             1.4286
  1436 buffered_rmqueue                           3.1840
    14 avc_has_perm                               0.2029

etc..
Comment 1 Dave Jones 2005-12-23 01:23:16 EST
never mind, forgot to set my LANG=C on that testbox.
Comment 2 Dave Jones 2005-12-23 01:25:51 EST
actually. double checking.. it used to work with en_US.UTF-8 too.
Comment 3 Tim Waugh 2005-12-23 06:58:17 EST
Thanks for spotting it.  Fixed in 5.93-5.

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