summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-06-28 23:49:58 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-06-28 23:49:58 +0000
commit3869e2919673f91152f351a0e5211ddaec74682c (patch)
tree4b8f70cbdfac10f3ede89e4e0b3fdf64fe105317
parentab621d9fa1e854418c7bffb7fbf35a4c6c3f8620 (diff)
downloadcoreutils-3869e2919673f91152f351a0e5211ddaec74682c.tar.xz
Support obsolete usages like "sort +1 -2" even when conforming to
POSIX 1003.1-2001.
-rw-r--r--ChangeLog6
-rw-r--r--NEWS4
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1443ff71a..88f6476a4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2006-06-28 Paul Eggert <eggert@cs.ucla.edu>
+ * NEWS: Support obsolete usages like "sort +1 -2" even when
+ conforming to POSIX 1003.1-2001, since this is a pure extension to
+ POSIX. Problem reported by Christian in:
+ http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00220.html
+ * src/sort.c (main): Implement this.
+
* src/system.h (CLOSEDIR): Remove. All uses changed to closedir.
Autoconf 2.60 says this stuff was obsolete.
diff --git a/NEWS b/NEWS
index 2a0a9067a..d82d7868c 100644
--- a/NEWS
+++ b/NEWS
@@ -77,6 +77,10 @@ GNU coreutils NEWS -*- outline -*-
sort now reports incompatible options (e.g., -i and -n) rather than
silently ignoring one of them.
+ sort now supports obsolete usages like "sort +1 -2" when conforming
+ to POSIX 1003.1-2001, since this is a pure extension to POSIX.
+ However, "sort +1" still sorts the file named "+1".
+
stat's --format=FMT option now works the way it did before 5.3.0:
FMT is automatically newline terminated. The first stable release
containing this change was 5.92.