mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
sort: Support hexadecimal numbers/floats correctly
Fixes https://github.com/uutils/coreutils/issues/8060
This commit is contained in:
committed by
Dorian Péron
parent
d2b95eb9e5
commit
bd2e33bb34
+1
-1
@@ -8,11 +8,11 @@
|
||||
|
||||
-12e-5555.5
|
||||
0b10 // binary not supported
|
||||
0x10 // hexadecimal not supported, but it should be
|
||||
55e-20
|
||||
55e-20.10
|
||||
5.5.5.5
|
||||
10E
|
||||
0x10
|
||||
64e+
|
||||
99e-
|
||||
1000EDKLD
|
||||
|
||||
+3
-3
@@ -28,9 +28,6 @@ ______________
|
||||
0b10 // binary not supported
|
||||
_
|
||||
____________________________
|
||||
0x10 // hexadecimal not supported, but it should be
|
||||
_
|
||||
___________________________________________________
|
||||
55e-20
|
||||
______
|
||||
______
|
||||
@@ -43,6 +40,9 @@ _______
|
||||
10E
|
||||
__
|
||||
___
|
||||
0x10
|
||||
____
|
||||
____
|
||||
64e+
|
||||
__
|
||||
____
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
+100000
|
||||
|
||||
10000K78
|
||||
0x10 // hexadecimal not supported, but it should be
|
||||
0x10
|
||||
10E
|
||||
0b10 // binary not supported
|
||||
64e+
|
||||
|
||||
Reference in New Issue
Block a user