sort: fix multiple -k (was ignoring all except last)
This commit is contained in:
@ -253,7 +253,7 @@ int ps_main(int argc, char **argv)
|
||||
opt_complementary = "o::";
|
||||
getopt32(argc, argv, "o:aAdefl", &opt_o);
|
||||
if (opt_o) {
|
||||
opt_o = rev_llist(opt_o);
|
||||
opt_o = llist_rev(opt_o);
|
||||
do {
|
||||
parse_o(opt_o->data);
|
||||
opt_o = opt_o->link;
|
||||
|
Reference in New Issue
Block a user