From 3869e2919673f91152f351a0e5211ddaec74682c Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 28 Jun 2006 23:49:58 +0000 Subject: Support obsolete usages like "sort +1 -2" even when conforming to POSIX 1003.1-2001. --- ChangeLog | 6 ++++++ NEWS | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 1443ff71a..88f6476a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-06-28 Paul Eggert + * 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. -- cgit v1.2.3-70-g09d2