From b877ea4b3ee4c62ab75caedbfdcca4877961aedf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 6 Aug 2010 21:30:17 -0700 Subject: sort: support all combinations of -d, -f, -i, -R, and -V * NEWS: Document this. * src/sort.c (getmonth): Omit LEN arg, as MONTH is now null-terminated. (compare_random): Don't null-terminate keys, as caller now does that. (compare_version): Remove. (debug_key): Null-terminate string for getmonth. (keycompare): Support combining -R with any of -d, -f, -i, -V. Also, support combining -V with any of -d, -i. (check_ordering_compatibility): Allow newly-supported combinations. * tests/misc/sort (02q, 02r, 02s): New tests, for new combinations. (incompat2): Now test -nR, since -fR are now compatible. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 46621735e..ae7b8397d 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,8 @@ GNU coreutils NEWS -*- outline -*- sort now accepts the --debug option, to highlight the part of the line significant in the sort, and warn about questionable options. + sort now supports -d, -f, -i, -R, and -V in any combination. + ** Changes in behavior du now uses less than half as much memory when operating on trees -- cgit v1.2.3-70-g09d2