Bug 176468 - sort -n broke
Summary: sort -n broke
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: coreutils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-23 06:22 UTC by Dave Jones
Modified: 2015-01-04 22:23 UTC (History)
1 user (show)

Fixed In Version: 5.93-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-12-23 11:58:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2005-12-23 06:22:09 UTC
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 06:23:16 UTC
never mind, forgot to set my LANG=C on that testbox.


Comment 2 Dave Jones 2005-12-23 06:25:51 UTC
actually. double checking.. it used to work with en_US.UTF-8 too.


Comment 3 Tim Waugh 2005-12-23 11:58:17 UTC
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.