mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
sort: treat "NaN" as string in numeric sort
This commit is contained in:
parent
07b01a85f9
commit
47f5f12759
4 changed files with 13 additions and 0 deletions
3
tests/fixtures/sort/numeric_floats_with_nan.expected
vendored
Normal file
3
tests/fixtures/sort/numeric_floats_with_nan.expected
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
NaN
|
||||
.02
|
||||
.03
|
3
tests/fixtures/sort/numeric_floats_with_nan.txt
vendored
Normal file
3
tests/fixtures/sort/numeric_floats_with_nan.txt
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.03
|
||||
.02
|
||||
NaN
|
Loading…
Add table
Add a link
Reference in a new issue