[Bug 9516] New: numeric sort fails for large integers

bugzilla at busybox.net bugzilla at busybox.net
Tue Dec 27 09:09:31 UTC 2016


https://bugs.busybox.net/show_bug.cgi?id=9516

            Bug ID: 9516
           Summary: numeric sort fails for large integers
           Product: Busybox
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Standard Compliance
          Assignee: unassigned at busybox.net
          Reporter: josch at debian.org
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

Hi, I'm running BusyBox v1.25.1 (2016-12-19 05:23:39 CET).

I can reproduce the problem like this:

$ { echo 4294967296; echo 4294967295; echo 4294967297; echo 2147483648; echo 6;
} | sort -n
4294967295
4294967296
4294967297
6
2147483648

Clearly, the first three values should come at the end as they are the largest.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list