sort: support -h
function old new delta static.scale_suffix - 62 +62 .rodata 104304 104336 +32 compare_keys 820 848 +28 packed_usage 34159 34184 +25 static.suffix - 9 +9 sort_opt_str 37 38 +1 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 4/0 up/down: 157/0) Total: 157 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -188,6 +188,35 @@ c 1
|
||||
d 2
|
||||
" ""
|
||||
|
||||
testing "sort -h" \
|
||||
"sort -h input" "\
|
||||
3e
|
||||
4m
|
||||
5y
|
||||
1023
|
||||
1024
|
||||
1025
|
||||
3000
|
||||
2K
|
||||
3k
|
||||
1M
|
||||
2E
|
||||
1Y
|
||||
" "\
|
||||
1Y
|
||||
5y
|
||||
1M
|
||||
2E
|
||||
3k
|
||||
3e
|
||||
2K
|
||||
4m
|
||||
1023
|
||||
1025
|
||||
3000
|
||||
1024
|
||||
" ""
|
||||
|
||||
# testing "description" "command(s)" "result" "infile" "stdin"
|
||||
|
||||
exit $FAILCOUNT
|
||||
|
||||
Reference in New Issue
Block a user