You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sort] -V comparator case-folds non-digit fields and ignores tilde rule (not GNU version order) #1340
sort -V (version sort) is not GNU's version comparison: non-digit runs are compared case-insensitively and ~ has no special (sorts-before-everything) meaning.
Evidence (harness vs GNU, two runs)
Input lines a1, B1 with sort -V:
GNU: B1 before a1 (byte order for the non-digit prefix).
WinuxCmd: a1 before B1 (case-folded comparison).
Input 1.0~rc1, 1.0: GNU orders 1.0~rc1 first (~ sorts before end-of-string). WinuxCmd orders 1.0 first (the comparator at sort.cpp ~L314-357 lowercases letters and has no tilde rule).
Activity
WIP fix(sort): -V ordering rewritten to filevercmp (#1340)
Merge pull request #1393 from unixwin/winx3-misc