From 5ebd387640ed45bd320431ad30ec92103166ef74 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 19 Dec 2018 16:50:10 -0600 Subject: Fix sort -x attached to a key. --- tests/sort.test | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/sort.test b/tests/sort.test index 619bbd02..2070d10c 100755 --- a/tests/sort.test +++ b/tests/sort.test @@ -92,9 +92,9 @@ testing "-x" "sort -x" "010\na0\n 0c0\n" "" "a0\n010\n 0c0\n" testing "" "sort -k2,2f" "A b b\na B C\na B a\n" "" "a B a\nA b b\na B C\n" testing "" "sort -k2,2" "a B C\na B a\nA b b\n" "" "a B a\nA b b\na B C\n" testing "" "sort -f -k2,2" "A b b\na B C\na B a\n" "" "a B a\nA b b\na B C\n" - testing "" "sort -t, -k3n" "3,4,1,2\n4,1,2,3\n1,2,3,4\n2,3,4,1\n" "" \ "1,2,3,4\n2,3,4,1\n4,1,2,3\n3,4,1,2\n" +testing "-kx" "sort -k1,1x" "3\na\n0c\n" "" "0c\na\n3\n" optional SORT_FLOAT @@ -102,5 +102,3 @@ optional SORT_FLOAT testing "-g" "sort -g" \ "bork\nNaN\n-inf\n0.4\n1.222\n01.37\n2.1\n+infinity\n" "" \ "01.37\n1.222\n2.1\n0.4\nNaN\nbork\n-inf\n+infinity\n" - - -- cgit v1.2.3