Support obsolete usages like "sort +1 -2" even when conforming to
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jun 2006 23:49:58 +0000 (23:49 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 28 Jun 2006 23:49:58 +0000 (23:49 +0000)
POSIX 1003.1-2001.

ChangeLog
NEWS

index 1443ff7..88f6476 100644 (file)
--- 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 2a0a906..d82d786 100644 (file)
--- 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.