diff options
author | Pádraig Brady <P@draigBrady.com> | 2011-01-27 07:17:16 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2011-01-29 23:39:16 +0000 |
commit | 877ca5bf8588ae73a6ccc672e41f13c5b3943b14 (patch) | |
tree | aecfb3505bf785ccb775305fb49bf89d712b0fa9 /NEWS | |
parent | 32626bde6d68508109a99dfe0a089a0025f56085 (diff) | |
download | coreutils-877ca5bf8588ae73a6ccc672e41f13c5b3943b14.tar.xz |
join: don't report disorder against an empty file
This allows one to use join as a field extractor like:
join -a1 -o 1.3,1.1 - /dev/null
* src/join.c (join): Don't flag unpairable lines when
one of the files is empty.
* tests/misc/join: Add a new test for empty input, and adjust
a previous test that was only checking against empty input.
* doc/coreutils.texi (join invocation): Document the change.
* NEWS: Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -25,6 +25,12 @@ GNU coreutils NEWS -*- outline -*- output format from the first line in each file, to ensure the same number of fields are output for each line. +** Changes in behavior + + join no longer reports disorder when one of the files is empty. + This allows one to use join as a field extractor like: + join -a1 -o 1.3,1.1 - /dev/null + * Noteworthy changes in release 8.9 (2011-01-04) [stable] |