1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-18 19:21:09 +00:00
uutils-coreutils/src
Michael Debertol 49c9d8c901
sort: implement -k and -t support (#1996)
* sort: implement basic -k and -t support

This allows to specify keys after the -k flag and a custom field
separator using -t.

Support for options for specific keys is still missing, and the -b flag
is not passed down correctly.

* sort: implement support for key options

* remove unstable feature use

* don't pipe in input when we expect a failure

* only tokenize when needed, remove a clone()

* improve comments

* fix clippy lints

* re-add test

* buffer writes to stdout

* fix ignore_non_printing

and make the test fail in case it is broken :)

* move attribute to the right position

* add more tests

* add my name to the copyright section

* disallow dead code

* move a comment

* re-add a loc

* use smallvec for a perf improvement in the common case

* add BENCHMARKING.md

* add ignore_case to benchmarks
2021-04-10 14:54:58 +02:00
..
bin Update the binary usage to match busybox 2021-03-10 23:52:33 +01:00
uu sort: implement -k and -t support (#1996) 2021-04-10 14:54:58 +02:00
uucore Merge pull request #2033 from Gilnaa/panic_2021 2021-04-06 13:46:07 +02:00
uucore_procs Fix "panic message is not a string literal" warnings (#1915) 2021-03-26 11:09:16 +01:00