diff options
author | Bo Borgerson <gigabo@gmail.com> | 2008-04-20 21:24:16 -0400 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-06-12 19:38:43 +0200 |
commit | 98a96822d9dac92de719fa340fe326e1fe0427fe (patch) | |
tree | b34410f3fa4b6053fae1d1934d666aeb8b63b06e /NEWS | |
parent | 5f47278372465f15b13803cd5a1702c264a95fdf (diff) | |
download | coreutils-98a96822d9dac92de719fa340fe326e1fe0427fe.tar.xz |
comm: ensure that input files are sorted
* NEWS: List new behavior.
* doc/coreutils.texi (checkOrderOption) New macro for
describing `--check-order' and `--nocheck-order', used in
both join and comm.
* src/comm.c (main): Initialize new options.
(usage): Describe new options.
(compare_files): Keep an extra pair of buffers for the previous
line from each file to check the internal order.
(check_order): If an order-check is required, compare and handle
the result appropriately.
(copylinebuffer): Copy a linebuffer; used for copy before read.
* tests/misc/Makefile.am: List new test.
* tests/misc/comm: Tests for the comm program, including the
new order-checking functionality and attendant command-line options.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,6 +9,9 @@ GNU coreutils NEWS -*- outline -*- ** New features + comm now verifies that the inputs are in sorted order. This check can + be turned off with the --nocheck-order option. + md5sum now accepts the new option, --quiet, to suppress the printing of 'OK' messages. sha1sum, sha224sum, sha384sum, and sha512sum accept it, too. |