]> git.ipfire.org Git - thirdparty/coreutils.git/commit
sort: add --sort=... option.
authorAndreas Schwab <schwab@suse.de>
Wed, 20 Feb 2008 07:36:56 +0000 (08:36 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 20 Feb 2008 07:41:29 +0000 (08:41 +0100)
commitcb3147d29860195780f745faf42e2b8a02bdcbf5
tree4fe7240b19d7d861907ae2f5713361c3aea8034a
parentc78039b87de6c636a167d3206081cced54af08e2
sort: add --sort=... option.

* src/sort.c (SORT_OPTION): New enum.
(sort_args, sort_types): Define.
(usage, long_options, main): New option --sort.
* tests/sort/Test.pm: Test it.
* doc/coreutils.texi (sort invocation): Document --sort option.
* NEWS: Mention this.
NEWS
doc/coreutils.texi
src/sort.c
tests/sort/Test.pm