From: Paul Eggert Date: Wed, 28 Jun 2006 23:49:58 +0000 (+0000) Subject: Support obsolete usages like "sort +1 -2" even when conforming to X-Git-Tag: COREUTILS-6_0~261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3869e2919673f91152f351a0e5211ddaec74682c;p=platform%2Fupstream%2Fcoreutils.git Support obsolete usages like "sort +1 -2" even when conforming to POSIX 1003.1-2001. --- diff --git a/ChangeLog b/ChangeLog index 1443ff7..88f6476 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 2a0a906..d82d786 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.