sort: fix ENDCHAR handling in "-kSTART,N.ENDCHAR"
function old new delta get_key 505 503 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -106,6 +106,14 @@ a/a:a
|
||||
a:b
|
||||
" ""
|
||||
|
||||
testing "sort with ENDCHAR" "sort -t. -k1,1.1 -k2 input" "\
|
||||
ab.1
|
||||
aa.2
|
||||
" "\
|
||||
aa.2
|
||||
ab.1
|
||||
" ""
|
||||
|
||||
testing "glibc build sort" "sort -t. -k 1,1 -k 2n,2n -k 3 input" "\
|
||||
GLIBC_2.1
|
||||
GLIBC_2.1.1
|
||||
|
Reference in New Issue
Block a user