Bruce Korb
4c9fae4e97
sort: new option, --sort=version, for version number ordering
...
* src/sort.c [struct keyfield] (version): New member.
(usage): Describe --version-sort.
(sort_options): Add 'V'.
(long_options): Add "version-sort".
(CHECK_TABLE, _ct_, SORT_TABLE, _st_): Define new macros.
(check_args, sort_args, sort_types): Use these new macros in declarations.
(ARGMATCH_VERIFY): Remove use. No longer needed.
(compare_version): New function.
(key_compare): Add a case.
(check_ordering_compatibility): Handle new type.
(main): Likewise. Reformat two expressions for readability.
* tests/misc/sort-version: new test file
* tests/Makefile.am: add it to the list
* doc/coreutils.texi (sort invocation): Document it.
* NEWS: Mention the new feature.
2008-08-15 09:52:06 +02:00
..
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-06-16 13:42:01 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-06-12 21:03:05 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-07-11 14:03:23 +02:00
2008-08-09 16:55:45 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-06-06 14:16:45 +02:00
2008-05-27 13:48:32 +02:00
2008-06-02 14:40:26 +02:00
2008-06-08 12:11:47 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-06-01 16:55:11 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-08-14 14:37:37 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-06-13 23:06:03 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-07-15 08:30:38 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-06-19 09:20:31 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-07-27 15:25:27 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-06-17 08:50:41 +02:00
2008-08-14 14:37:37 +02:00
2008-05-27 13:48:32 +02:00
2008-08-15 09:52:06 +02:00
2008-06-08 12:11:47 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-08-14 14:37:37 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-05-27 13:48:32 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-06-10 08:27:52 +02:00
2008-06-27 17:46:52 +02:00
2008-05-17 08:27:58 +02:00
2008-06-06 14:16:45 +02:00
2008-06-06 14:16:45 +02:00
2008-06-10 08:32:52 +02:00
2008-06-06 14:16:45 +02:00
2008-06-06 14:16:45 +02:00
2008-06-06 14:16:45 +02:00
2008-06-06 14:16:45 +02:00
2008-06-30 10:23:17 +02:00
2008-06-06 14:16:45 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-17 08:27:58 +02:00
2008-05-27 13:48:32 +02:00
2008-06-08 12:11:47 +02:00
2008-06-08 12:11:47 +02:00