* NEWS: New option sort -C, proposed by XCU ERN 127, which looks
commita0b2bc8de7c1363f2fe85dd11d28d2b1e68c9d32
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 24 Jan 2007 08:06:57 +0000 (24 09:06 +0100)
committerJim Meyering <jim@meyering.net>
Wed, 24 Jan 2007 08:06:57 +0000 (24 09:06 +0100)
treee88361b9764c7e197f7a6ecff2971555ee99c078
parenta0d74a99b786511d037b7fc00038c4cf55151c3a
* NEWS: New option sort -C, proposed by XCU ERN 127, which looks
like it will be approved.  Also add --check=quiet, --check=silent
as long aliases, and --check=diagnose-first as an alias for -c.
* doc/coreutils.texi (sort invocation): Document this.
Also, mention that sort -c can take at most one file.
* src/sort.c: Implement this.
Include argmatch.h.
(usage): Document the change.
(CHECK_OPTION): New constant.
(long_options): --check now takes an optional argument, and is now
treated differently from 'c'.
(check_args, check_types): New constant arrays.
(check): New arg CHECKONLY, which suppresses diagnostic if -C.
(main): Parse the new options.
* tests/sort/Test.pm (02d, 02d, incompat5, incompat6):
New tests for -C.
ChangeLog
NEWS
doc/coreutils.texi
src/sort.c
tests/sort/Test.pm