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 /tests/chgrp/posix-H | |
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 'tests/chgrp/posix-H')
0 files changed, 0 insertions, 0 deletions